fix if
This commit is contained in:
parent
4e488453ca
commit
feafe46cae
|
@ -54,7 +54,7 @@ yeetpurge_info = {True: dict(), False: dict()}
|
|||
@public_log_errors
|
||||
async def yeetpurge(client, message):
|
||||
reply = message.reply_to_message
|
||||
if getattr(message, 'empty', True):
|
||||
if getattr(reply, 'empty', True):
|
||||
await message.delete()
|
||||
return
|
||||
info = yeetpurge_info['s' in message.command[0]]
|
||||
|
|
Loading…
Reference in New Issue