summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2016-12-10 09:34:36 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2016-12-10 09:34:36 +0100
commit8606adce3a4f357e0077572d82f3dfb00399ba53 (patch)
treec83ba7947cd78aeb3ec59430afdfad7d3c1c9a47
parent3aff4af2b61798bf22f0958b21e8fe982e22d0b6 (diff)
downloadVainbot-8606adce3a4f357e0077572d82f3dfb00399ba53.tar.gz
Vainbot-8606adce3a4f357e0077572d82f3dfb00399ba53.zip
reword pwm responses
-rw-r--r--main.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/main.py b/main.py
index bcc6049..5605106 100644
--- a/main.py
+++ b/main.py
@@ -88,9 +88,12 @@ async def search_teammates(server, channel, who, query, notify=True):
if not mention in players and mention != who.mention:
players += [mention]
if len(players) > 0:
- await cli.send_message(channel, "%s playing right now: %s" % (who.mention, ", ".join(players)))
+ await cli.send_message(channel, "%s %s want to play" % (who.mention, ", ".join(players)))
else:
- await cli.send_message(channel, "%s nobody is playing right now. I'll notify you when somebody can." % (who.mention))
+ if notify:
+ await cli.send_message(channel, "%s Nobody wants to play. I'll notify you when somebody can." % (who.mention))
+ else:
+ await cli.send_message(channel, "%s Nobody wants to play." % (who.mention))
if notify:
await asyncio.sleep((end-start).total_seconds())