Add .sauce command

This commit is contained in:
Michael De Roover 2021-03-15 01:46:15 +01:00
parent 019f63fd08
commit 9ebabc54da
Signed by: vim
GPG Key ID: 075496E232CE04CB

View File

@ -77,5 +77,9 @@ async def edit(event):
msg = event.text.replace(msg, rpl)
await event.edit(msg)
if '.sauce' in msg:
rpl = 'Sauce: [ghnou/ubot](https://git.ghnou.su/ghnou/ubot)'
await event.edit(rpl)
client.start()
client.run_until_disconnected()