diff --git a/bot.py b/bot.py index fa84b36..efaa8b9 100755 --- a/bot.py +++ b/bot.py @@ -78,7 +78,9 @@ class BotClient(discord.Client): calc = await self._calculate(args) await message.reply(content=calc.strip()) except Exception as e: - await message.reply(content="```\n" + str(e) + "\n```") + await message.reply( + content="```\n" + str(e) + "\n```", delete_after=30 + ) case _: _log.info(f"Unrecognised command {command}")