We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ea6e59 commit 6ab4ce8Copy full SHA for 6ab4ce8
src/bot.py
@@ -22,7 +22,8 @@ async def on_ready():
22
async def on_message(message):
23
if message.author == client.user:
24
return
25
- response = await responses.handle_response(message)
26
- await send_message(response,message.channel)
+ if str(message.content).startswith("!"):
+ response = await responses.handle_response(message)
27
+ await send_message(response,message.channel)
28
29
client.run(TOKEN)
0 commit comments