diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2016-12-10 09:34:36 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2016-12-10 09:34:36 +0100 |
| commit | 8606adce3a4f357e0077572d82f3dfb00399ba53 (patch) | |
| tree | c83ba7947cd78aeb3ec59430afdfad7d3c1c9a47 | |
| parent | 3aff4af2b61798bf22f0958b21e8fe982e22d0b6 (diff) | |
| download | Vainbot-8606adce3a4f357e0077572d82f3dfb00399ba53.tar.gz Vainbot-8606adce3a4f357e0077572d82f3dfb00399ba53.zip | |
reword pwm responses
| -rw-r--r-- | main.py | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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()) |
