TheYoBots commited on
Commit
a62e308
·
1 Parent(s): 2023edf

Get version from lishogi-bot.py

Browse files
Files changed (1) hide show
  1. conversation.py +1 -1
conversation.py CHANGED
@@ -26,7 +26,7 @@ class Conversation:
26
  self.send_reply(line, "Waiting 60 seconds...")
27
  elif cmd == "name":
28
  name = game.me.name
29
- self.send_reply(line, "{} running Lishogi-Bot v1.0.0".format(name))
30
  elif cmd == "howto":
31
  self.send_reply(line, "How to run your own bot: https://github.com/TheYoBots/Lishogi-Bot")
32
  elif cmd == "eval" and line.room == "spectator":
 
26
  self.send_reply(line, "Waiting 60 seconds...")
27
  elif cmd == "name":
28
  name = game.me.name
29
+ self.send_reply(line, "{} running Lishogi-Bot v{}".format(name, self.version))
30
  elif cmd == "howto":
31
  self.send_reply(line, "How to run your own bot: https://github.com/TheYoBots/Lishogi-Bot")
32
  elif cmd == "eval" and line.room == "spectator":