diff options
Diffstat (limited to 'example.py')
| -rw-r--r-- | example.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,14 +8,14 @@ from blockext import * def not_(value): return not value -@command("say %s for %n secs") +@command("say %s for %n secs", blocking=True) def say_for_secs(text="Hello", duration=5): import time print(text) time.sleep(duration) -@command("play note %n", blocking=True) +@command("play note %n") def play_note(note): print("DING {note}".format(note=note)) time.sleep(2) |
