mirror of
https://github.com/AskDavis/nate-discord.git
synced 2026-01-01 05:05:58 -08:00
Update connect_discord.py
This commit is contained in:
@@ -14,6 +14,7 @@ class MyClient(discord.Client):
|
||||
logging.info('WE MADE IT AFTER')
|
||||
|
||||
async def on_message(self, message):
|
||||
logging.info(str(message))
|
||||
logging.info('Message from {0.author}: {0.content}'.format(message))
|
||||
if message.author == client.user:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user