From 997b182360a76fb9cbb2bdade25c11673d18024d Mon Sep 17 00:00:00 2001 From: sgoudham Date: Tue, 23 Jun 2020 15:25:26 +0100 Subject: [PATCH] Dm messages sent by the owner are sent in #general Dm sent by anyone else are sent in #enso-chan-commands --- EnsoBot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/EnsoBot.py b/EnsoBot.py index 25fbf5b3..fd257d6a 100644 --- a/EnsoBot.py +++ b/EnsoBot.py @@ -259,6 +259,8 @@ async def on_message(message): # Send message to #enso-chan~commands channel = client.get_channel(721449922838134876) await channel.send(message.content) + else: + return await client.process_commands(message)