'bitbot.dev/multiline' -> 'draft/multiline'
This commit is contained in:
parent
e34259f967
commit
8e9fba0f96
1 changed files with 4 additions and 4 deletions
|
@ -1,8 +1,8 @@
|
|||
from src import ModuleManager, utils
|
||||
|
||||
CAP = utils.irc.Capability(None, "bitbot.dev/multiline", alias="multiline")
|
||||
BATCH = utils.irc.BatchType(None, "bitbot.dev/multiline")
|
||||
TAG = utils.irc.MessageTag(None, "bitbot.dev/multiline-concat")
|
||||
CAP = utils.irc.Capability(None, "draft/multiline", alias="multiline")
|
||||
BATCH = utils.irc.BatchType(None, "draft/multiline")
|
||||
TAG = utils.irc.MessageTag(None, "draft/multiline-concat")
|
||||
|
||||
@utils.export("cap", CAP)
|
||||
class Module(ModuleManager.BaseModule):
|
||||
|
@ -15,7 +15,7 @@ class Module(ModuleManager.BaseModule):
|
|||
|
||||
target = event["line"].args[0]
|
||||
lines = event["line"].args[1].split("\n")
|
||||
batch = utils.irc.IRCSendBatch("bitbot.dev/multiline",
|
||||
batch = utils.irc.IRCSendBatch("draft/multiline",
|
||||
[target])
|
||||
for line in lines:
|
||||
batch.add_line(utils.irc.protocol.privmsg(target, line))
|
||||
|
|
Loading…
Reference in a new issue