diff options
Diffstat (limited to 'asciifarm/client/commandhandler.py')
| -rw-r--r-- | asciifarm/client/commandhandler.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/asciifarm/client/commandhandler.py b/asciifarm/client/commandhandler.py index 9a0ff44..d34f367 100644 --- a/asciifarm/client/commandhandler.py +++ b/asciifarm/client/commandhandler.py @@ -16,6 +16,7 @@ class CommandHandler: "input": self.input, "move": self.move, "say": self.say, + "pick": self.pick, "chat": self.chat, "log": self.log, "do": self.do, @@ -54,9 +55,13 @@ class CommandHandler: def say(self, text): self.input(["say", text]) + def pick(self, option): + self.input(["pick", option]) + def chat(self, text): self.send(["chat", text]) + def log(self, text): self.client.log(text) |
