auto-delete errors faster
This commit is contained in:
parent
cf3906be94
commit
fa96d88964
2
bot.py
2
bot.py
@ -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}")
|
||||
|
Loading…
Reference in New Issue
Block a user