Spaces:
Sleeping
Sleeping
TheYoBots commited on
Commit ·
7d512d3
1
Parent(s): 9a00499
Change method of sending name in spectators room
Browse files- conversation.py +1 -1
conversation.py
CHANGED
|
@@ -20,7 +20,7 @@ class Conversation:
|
|
| 20 |
game.ping(60, 120)
|
| 21 |
self.send_reply(line, "Waiting 60 seconds...")
|
| 22 |
elif cmd == "name":
|
| 23 |
-
self.send_reply(line, "
|
| 24 |
elif cmd == "engine":
|
| 25 |
self.send_reply(line, "Fairy Stockfish 11.2")
|
| 26 |
elif cmd == "howto":
|
|
|
|
| 20 |
game.ping(60, 120)
|
| 21 |
self.send_reply(line, "Waiting 60 seconds...")
|
| 22 |
elif cmd == "name":
|
| 23 |
+
self.send_reply(line, "{} (lichess-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":
|