This commit is contained in:
blank X 2020-10-20 16:54:21 +07:00
parent 4e488453ca
commit feafe46cae
1 changed files with 1 additions and 1 deletions

View File

@ -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]]