Spaces:
Sleeping
Sleeping
TheYoBots commited on
Commit ·
07f2992
1
Parent(s): 7042fca
Update conversation.py
Browse files- conversation.py +2 -2
conversation.py
CHANGED
|
@@ -18,12 +18,12 @@ class Conversation():
|
|
| 18 |
|
| 19 |
def command(self, line, game, cmd):
|
| 20 |
if cmd == "commands" or cmd == "help":
|
| 21 |
-
self.send_reply(line, "Supported commands: !name, !howto, !eval, !queue")
|
| 22 |
if cmd == "wait" and game.is_abortable():
|
| 23 |
game.abort_in(60)
|
| 24 |
self.send_reply(line, "Waiting 60 seconds...")
|
| 25 |
elif cmd == "name":
|
| 26 |
-
self.send_reply(line, "
|
| 27 |
elif cmd == "howto":
|
| 28 |
self.send_reply(line, "How to run your own bot: https://github.com/TheYoBots/Lishogi-Bot")
|
| 29 |
elif cmd == "eval" and line.room == "spectator":
|
|
|
|
| 18 |
|
| 19 |
def command(self, line, game, cmd):
|
| 20 |
if cmd == "commands" or cmd == "help":
|
| 21 |
+
self.send_reply(line, "Supported commands: !name, !wait, !howto, !eval, !queue")
|
| 22 |
if cmd == "wait" and game.is_abortable():
|
| 23 |
game.abort_in(60)
|
| 24 |
self.send_reply(line, "Waiting 60 seconds...")
|
| 25 |
elif cmd == "name":
|
| 26 |
+
self.send_reply(line, "lishogi-bot v0.1")
|
| 27 |
elif cmd == "howto":
|
| 28 |
self.send_reply(line, "How to run your own bot: https://github.com/TheYoBots/Lishogi-Bot")
|
| 29 |
elif cmd == "eval" and line.room == "spectator":
|