Remove unnecessary edits
This commit is contained in:
parent
9ebabc54da
commit
106db0dc23
6
ubot.py
6
ubot.py
@ -14,8 +14,7 @@ async def edit(event):
|
|||||||
|
|
||||||
if '.alive' in msg:
|
if '.alive' in msg:
|
||||||
rpl = "Userbot alive and well!"
|
rpl = "Userbot alive and well!"
|
||||||
msg = event.text.replace(msg, rpl)
|
await event.edit(rpl)
|
||||||
await event.edit(msg)
|
|
||||||
|
|
||||||
if '.shg' in msg:
|
if '.shg' in msg:
|
||||||
rpl = f"¯\_(ツ)_/¯"
|
rpl = f"¯\_(ツ)_/¯"
|
||||||
@ -74,8 +73,7 @@ async def edit(event):
|
|||||||
|
|
||||||
if '.fire' in msg:
|
if '.fire' in msg:
|
||||||
rpl = 'IMA FIRING MAH LAZER'
|
rpl = 'IMA FIRING MAH LAZER'
|
||||||
msg = event.text.replace(msg, rpl)
|
await event.edit(rpl)
|
||||||
await event.edit(msg)
|
|
||||||
|
|
||||||
if '.sauce' in msg:
|
if '.sauce' in msg:
|
||||||
rpl = 'Sauce: [ghnou/ubot](https://git.ghnou.su/ghnou/ubot)'
|
rpl = 'Sauce: [ghnou/ubot](https://git.ghnou.su/ghnou/ubot)'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user