From fa96d889641e645ef00cefdc31ed94c270722a72 Mon Sep 17 00:00:00 2001 From: xeals Date: Thu, 27 Apr 2023 11:26:03 +1000 Subject: [PATCH] auto-delete errors faster --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 24ff95d..422414b 100755 --- a/bot.py +++ b/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}")