Change !uuid to !uuid4 to be clear that it's a uuid4 being generated
This commit is contained in:
parent
670f682c62
commit
ed8761ed5c
1 changed files with 2 additions and 2 deletions
|
@ -37,9 +37,9 @@ class Module(ModuleManager.BaseModule):
|
||||||
event["stdout"].write("%s tosses a coin and gets %s" %
|
event["stdout"].write("%s tosses a coin and gets %s" %
|
||||||
(event["user"].nickname, chosen_side))
|
(event["user"].nickname, chosen_side))
|
||||||
|
|
||||||
@utils.hook("received.command.uuid")
|
@utils.hook("received.command.uuid4")
|
||||||
def uuid(self, event):
|
def uuid(self, event):
|
||||||
"""
|
"""
|
||||||
:help: Get a random uuid
|
:help: Get a random uuid4
|
||||||
"""
|
"""
|
||||||
event["stdout"].write(str(uuid.uuid4()))
|
event["stdout"].write(str(uuid.uuid4()))
|
||||||
|
|
Loading…
Reference in a new issue