auto-delete errors faster

This commit is contained in:
xeals 2023-04-27 11:26:03 +10:00
parent cf3906be94
commit fa96d88964
Signed by: xeals
GPG Key ID: A498C7AF27EC6B5C

2
bot.py
View File

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