Delete smeg message after 60 seconds

This commit is contained in:
Nexus 2023-05-06 17:06:44 +01:00
parent f5ae7a9019
commit 3541cc0cf8
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -298,7 +298,7 @@ class Events(commands.Cog):
choice,
filename="%s.%s" % (os.urandom(32).hex(), choice.suffix)
)
await message.reply(file=_file)
await message.reply(file=_file, delete_after=60)
async def send_what():
msg = message.reference.cached_message