give messages.py a shorter _name

This commit is contained in:
jesopo 2020-01-30 16:28:16 +00:00
parent 927fd7e3e7
commit 2a950b6c5b

View file

@ -2,6 +2,8 @@ import re
from src import ModuleManager, utils from src import ModuleManager, utils
class Module(ModuleManager.BaseModule): class Module(ModuleManager.BaseModule):
_name = "MSG"
@utils.hook("received.command.msearch") @utils.hook("received.command.msearch")
@utils.spec("!-channelonly !<pattern>string") @utils.spec("!-channelonly !<pattern>string")
def msearch(self, event): def msearch(self, event):