From 6ed4357d9569983d8fdf61e1ac1aeb8aba218ea2 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Thu, 9 Jul 2020 23:43:54 +0100 Subject: [PATCH] Adding error handling for modmail logging --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 39ad3d7d..2791fe5f 100644 --- a/main.py +++ b/main.py @@ -34,7 +34,7 @@ async def on_message(message): return if isinstance(message.channel, DMChannel): - return + pass else: # Set up the connection to the database