summaryrefslogtreecommitdiff
path: root/example.py
diff options
context:
space:
mode:
authorGubolin <gubolin@fantasymail.de>2015-02-21 15:35:31 +0100
committerGubolin <gubolin@fantasymail.de>2015-02-21 15:35:31 +0100
commitfd4b0b4b8ad927362f8ac37e2437ac412686fce2 (patch)
tree27da329eec16b1878c41d783ff3c382cb1bf7d52 /example.py
parent37f5d8e57f5ffe7825e9a2f48473fda677b6a13f (diff)
downloadblockext-master.tar.gz
blockext-master.zip
fix bug when having multiple inputs of the same typeHEADmaster
Diffstat (limited to 'example.py')
-rw-r--r--example.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/example.py b/example.py
index 3b3690b..163908d 100644
--- a/example.py
+++ b/example.py
@@ -32,6 +32,11 @@ class Example:
print(text)
time.sleep(duration)
+ @command("multiple %s inputs are %s allowed")
+ def argstest(self, arg1, arg2):
+ print(arg1)
+ print(arg2)
+
@command("play note %n")
def play_note(self, note):
print("DING {note}".format(note=note))