fix logging
This commit is contained in:
		
							
								
								
									
										1
									
								
								bot.py
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								bot.py
									
									
									
									
									
								
							| @@ -78,6 +78,7 @@ class BotClient(discord.Client): | ||||
|                     calc = await self._calculate(args) | ||||
|                     await message.reply(content=calc.strip()) | ||||
|                 except Exception as e: | ||||
|                     _log.exception("running calculation") | ||||
|                     await message.reply( | ||||
|                         content="```\n" + str(e) + "\n```", delete_after=30 | ||||
|                     ) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user