'guid' -> 'uuid' as apparently guid is microsoft's name for a uuid
(random_number.py)
This commit is contained in:
parent
7e85197d47
commit
3eb87b06e1
1 changed files with 3 additions and 3 deletions
|
@ -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()))
|
||||
|
|
Loading…
Reference in a new issue