add draft/edit CAP to ircv3_editmsg.py
This commit is contained in:
parent
a79f866269
commit
388ccf7a42
1 changed files with 2 additions and 0 deletions
|
@ -1,7 +1,9 @@
|
||||||
from src import ModuleManager, utils
|
from src import ModuleManager, utils
|
||||||
|
|
||||||
|
CAP = utils.irc.Capability(None, "draft/edit", alias="edit")
|
||||||
DELETE_TAG = utils.irc.MessageTag(None, "draft/delete")
|
DELETE_TAG = utils.irc.MessageTag(None, "draft/delete")
|
||||||
|
|
||||||
|
@utils.export("cap", CAP)
|
||||||
class Module(ModuleManager.BaseModule):
|
class Module(ModuleManager.BaseModule):
|
||||||
@utils.hook("received.tagmsg.private")
|
@utils.hook("received.tagmsg.private")
|
||||||
@utils.hook("received.tagmsg.channel")
|
@utils.hook("received.tagmsg.channel")
|
||||||
|
|
Loading…
Reference in a new issue