Adding error handling for modmail logging

pull/4/head
sgoudham 4 years ago
parent c99e605381
commit b3ce796edb

@ -33,7 +33,7 @@ async def on_message(message):
if message.author.bot: if message.author.bot:
return return
if not isinstance(message.channel, DMChannel): if isinstance(message.channel, DMChannel):
return return
else: else:

Loading…
Cancel
Save