From d5500931cd5d37c8c7bd13a9dc008ceadf4a430f Mon Sep 17 00:00:00 2001 From: schneefux Date: Fri, 9 Dec 2016 15:13:08 +0100 Subject: fix never entering queue --- main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"): -- cgit v1.3.1