give messages.py a shorter _name
This commit is contained in:
parent
927fd7e3e7
commit
2a950b6c5b
1 changed files with 2 additions and 0 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue