aboutsummaryrefslogtreecommitdiff
path: root/modules/random_number.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-05-07 11:48:16 +0100
committerGravatar jesopo2019-05-07 11:48:16 +0100
commited8761ed5cf04bb6c9368ddae80ee41611f81e15 (patch)
tree4ea5a922aad6621724d21f918edc6f53c2d80051 /modules/random_number.py
parentRemove '"human"' key from location settings export - we dont use it and it's (diff)
signature
Change !uuid to !uuid4 to be clear that it's a uuid4 being generated
Diffstat (limited to 'modules/random_number.py')
-rw-r--r--modules/random_number.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/random_number.py b/modules/random_number.py
index 51acb5a0..d0d46718 100644
--- a/modules/random_number.py
+++ b/modules/random_number.py
@@ -37,9 +37,9 @@ class Module(ModuleManager.BaseModule):
event["stdout"].write("%s tosses a coin and gets %s" %
(event["user"].nickname, chosen_side))
- @utils.hook("received.command.uuid")
+ @utils.hook("received.command.uuid4")
def uuid(self, event):
"""
- :help: Get a random uuid
+ :help: Get a random uuid4
"""
event["stdout"].write(str(uuid.uuid4()))