Dm messages sent by the owner are sent in #general

Dm sent by anyone else are sent in #enso-chan-commands
pull/2/head
sgoudham 4 years ago
parent d97109e5b8
commit 997b182360

@ -259,6 +259,8 @@ async def on_message(message):
# Send message to #enso-chan~commands # Send message to #enso-chan~commands
channel = client.get_channel(721449922838134876) channel = client.get_channel(721449922838134876)
await channel.send(message.content) await channel.send(message.content)
else:
return
await client.process_commands(message) await client.process_commands(message)

Loading…
Cancel
Save