diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2016-12-09 15:13:08 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2016-12-09 15:13:08 +0100 |
| commit | d5500931cd5d37c8c7bd13a9dc008ceadf4a430f (patch) | |
| tree | 24b126e1c88d2c259ffcbca3603f26e4afe48525 | |
| parent | 63ce20df9675e5bd09d74d85a8f24474452bdb92 (diff) | |
| download | Vainbot-d5500931cd5d37c8c7bd13a9dc008ceadf4a430f.tar.gz Vainbot-d5500931cd5d37c8c7bd13a9dc008ceadf4a430f.zip | |
fix never entering queue
| -rw-r--r-- | main.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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"): |
