'guid' -> 'uuid' as apparently guid is microsoft's name for a uuid

(random_number.py)
This commit is contained in:
jesopo 2019-01-14 21:37:14 +00:00
parent 7e85197d47
commit 3eb87b06e1

View file

@ -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()))