Change !uuid to !uuid4 to be clear that it's a uuid4 being generated

This commit is contained in:
jesopo 2019-05-07 11:48:16 +01:00
parent 670f682c62
commit ed8761ed5c

View file

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