auto-delete errors faster

This commit is contained in:
2023-04-27 11:26:03 +10:00
parent cf3906be94
commit fa96d88964

2
bot.py
View File

@@ -80,7 +80,7 @@ class BotClient(discord.Client):
except Exception as e:
_log.exception("running calculation")
await message.reply(
content="```\n" + str(e) + "\n```", delete_after=30
content="```\n" + str(e) + "\n```", delete_after=10
)
case _:
_log.info(f"Unrecognised command {command}")