From 30510b0bdb91563ad4305ddb2fb6c21c319dc056 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Sat, 20 Jun 2020 04:21:49 +0100 Subject: [PATCH] Making Enso~Chan only respond to my dms and echo my dms --- EnsoBot.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/EnsoBot.py b/EnsoBot.py index 51162859..bbd6d860 100644 --- a/EnsoBot.py +++ b/EnsoBot.py @@ -46,7 +46,10 @@ async def ping(ctx): async def on_message(message): channel = client.get_channel(721449922838134876) if message.channel == message.author.dm_channel: - await channel.send(message.content) + if message.author.id == 154840866496839680: + await channel.send(message.content) + else: + return await client.process_commands(message)