diff options
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -98,8 +98,8 @@ async def search_teammates(who, query, notify=True): mention = (await get_user(teammate["player"]))["mention"] if not mention in players: players += [mention] - if len(players) > 1: - return ", ".join(players) + " can play together." + if len(players) > 1 or (len(players) == 1 and not notify): + return ", ".join(players) + " can play." else: if notify: return "Nobody can play at that time. I will notify you if anyone wants to play between %s and %s. It is now %s." % (start.strftime("%H:%M"), end.strftime("%H:%M"), datetime.datetime.now().strftime("%H:%M")) |
