Update connect_discord.py

This commit is contained in:
AskDavis
2023-05-20 18:26:23 -07:00
committed by GitHub
parent bcbd7ba1d2
commit 3fe81c4c8d

View File

@@ -14,7 +14,7 @@ class MyClient(discord.Client):
logging.info('WE MADE IT AFTER')
async def on_message(self, message):
logging.info('Message from {0.author}: {0.content}'.format(message))
logging.info('Message from {0.author}: {0.content}'.format(str(message)))
if message.author == client.user:
return
if "mabel" in message.content.lower():