diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2016-12-04 15:18:47 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2016-12-04 15:18:47 +0100 |
| commit | e3258f68822d4ec89565bd8bcdb0336872a1d579 (patch) | |
| tree | 9f18948ef76f9a89bc7f7aba2b77c43c7469fc41 | |
| parent | 0142e8a6835ebb1c7a3556b61a9cf9fbb24f785f (diff) | |
| download | Vainbot-e3258f68822d4ec89565bd8bcdb0336872a1d579.tar.gz Vainbot-e3258f68822d4ec89565bd8bcdb0336872a1d579.zip | |
reply with current time
| -rw-r--r-- | main.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -78,9 +78,9 @@ async def search_teammates(who, query): if not mention in players: players += [mention] if len(players) > 1: - return ", ".join(players) + " can play together at %s." % (start.strftime("%H:%M")) + return ", ".join(players) + " can play together at %s. It is now %s." % (start.strftime("%H:%M"), datetime.datetime.now().strftime("%H:%M")) else: - return "Nobody can play at that time. I will notify you if anyone can play between %s and %s." % (start.strftime("%H:%M"), end.strftime("%H:%M")) + return "Nobody can play at that time. I will notify you if anyone can play between %s and %s. It is now %s." % (start.strftime("%H:%M"), end.strftime("%H:%M"), datetime.datetime.now().strftime("%H:%M")) @cli.event async def on_message(message): |
