Spaces:
Sleeping
Sleeping
TheYoBots commited on
Commit ·
701072f
1
Parent(s): 9575bd3
Remove censored word ‘Engine’
Browse files- conversation.py +1 -3
conversation.py
CHANGED
|
@@ -15,14 +15,12 @@ class Conversation:
|
|
| 15 |
|
| 16 |
def command(self, line, game, cmd):
|
| 17 |
if cmd == "commands" or cmd == "help":
|
| 18 |
-
self.send_reply(line, "Supported commands: !name, !
|
| 19 |
elif cmd == "wait" and game.is_abortable():
|
| 20 |
game.ping(60, 120)
|
| 21 |
self.send_reply(line, "Waiting 60 seconds...")
|
| 22 |
elif cmd == "name":
|
| 23 |
self.send_reply(line, "{} (lishogi-bot v{})".format(self.engine.name(), self.version))
|
| 24 |
-
elif cmd == "engine":
|
| 25 |
-
self.send_reply(line, "Fairy Stockfish 11.2")
|
| 26 |
elif cmd == "howto":
|
| 27 |
self.send_reply(line, "How to run your own bot: https://github.com/TheYoBots/Lishogi-Bot")
|
| 28 |
elif cmd == "eval" and line.room == "spectator":
|
|
|
|
| 15 |
|
| 16 |
def command(self, line, game, cmd):
|
| 17 |
if cmd == "commands" or cmd == "help":
|
| 18 |
+
self.send_reply(line, "Supported commands: !name, !wait, !howto, !eval, !queue")
|
| 19 |
elif cmd == "wait" and game.is_abortable():
|
| 20 |
game.ping(60, 120)
|
| 21 |
self.send_reply(line, "Waiting 60 seconds...")
|
| 22 |
elif cmd == "name":
|
| 23 |
self.send_reply(line, "{} (lishogi-bot v{})".format(self.engine.name(), self.version))
|
|
|
|
|
|
|
| 24 |
elif cmd == "howto":
|
| 25 |
self.send_reply(line, "How to run your own bot: https://github.com/TheYoBots/Lishogi-Bot")
|
| 26 |
elif cmd == "eval" and line.room == "spectator":
|