summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.py b/main.py
index 825e592..4c7ad07 100644
--- a/main.py
+++ b/main.py
@@ -124,9 +124,11 @@ async def on_message(message):
if msg.startswith("play with me") or msg.startswith("who can play"):
if msg.startswith("play with me"):
when = message.content[len("play with me"):]
+ notify = False
else:
when = message.content[len("who can play"):]
- response = await search_teammates(message.author, when, False)
+ notify = True
+ response = await search_teammates(message.author, when, notify)
await cli.send_message(message.channel, response)
if msg.startswith("don't play with me") or msg.startswith("dont play with me"):