aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-01-14 21:37:14 +0000
committerGravatar jesopo2019-01-14 21:37:14 +0000
commit3eb87b06e124a75c1a476be7faafe0f8d0f45ac7 (patch)
tree1b3312b16994f1f391a89370fe7d93d13a48e1d6
parentChange !gh to be an alias of !github (github.py) (diff)
signature
'guid' -> 'uuid' as apparently guid is microsoft's name for a uuid
(random_number.py)
-rw-r--r--modules/random_number.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/random_number.py b/modules/random_number.py
index 797b2fb4..6fec2b25 100644
--- a/modules/random_number.py
+++ b/modules/random_number.py
@@ -29,9 +29,9 @@ class Module(ModuleManager.BaseModule):
event["stderr"].write(
"Both start and end must be valid integers")
- @utils.hook("received.command.guid")
- def guid(self, event):
+ @utils.hook("received.command.uuid")
+ def uuid(self, event):
"""
- :help: Get a random guid
+ :help: Get a random uuid
"""
event["stdout"].write(str(uuid.uuid4()))