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:
@@ -18,7 +18,7 @@ class MyClient(discord.Client):
|
|||||||
logging.info('Message from {0.author}: {0.content}'.format(message))
|
logging.info('Message from {0.author}: {0.content}'.format(message))
|
||||||
if message.author == client.user:
|
if message.author == client.user:
|
||||||
return
|
return
|
||||||
if "mabel" in message.content.lower():
|
if "nate" in message.content.lower():
|
||||||
try:
|
try:
|
||||||
response = await chatgpt_response(message.content)
|
response = await chatgpt_response(message.content)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user