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