summaryrefslogtreecommitdiff
path: root/example.py
diff options
context:
space:
mode:
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))