!changenickname -> !nickname

This commit is contained in:
jesopo 2019-09-27 12:26:14 +01:00
parent c332ccc1aa
commit efeffb62a9

View file

@ -4,7 +4,7 @@
from src import ModuleManager, utils from src import ModuleManager, utils
class Module(ModuleManager.BaseModule): class Module(ModuleManager.BaseModule):
@utils.hook("received.command.changenickname", min_args=1) @utils.hook("received.command.nick", min_args=1)
def change_nickname(self, event): def change_nickname(self, event):
""" """
:help: Change my nickname :help: Change my nickname