From 75f60caaf8ed9f40c07f0597d7a9248821a26d66 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 16 Jun 2019 17:17:50 +0100 Subject: [PATCH] 'multi-line' -> 'multiline' --- modules/{ircv3_multi_line.py => ircv3_multiline.py} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename modules/{ircv3_multi_line.py => ircv3_multiline.py} (91%) diff --git a/modules/ircv3_multi_line.py b/modules/ircv3_multiline.py similarity index 91% rename from modules/ircv3_multi_line.py rename to modules/ircv3_multiline.py index e8b65c3b..21b7abd1 100644 --- a/modules/ircv3_multi_line.py +++ b/modules/ircv3_multiline.py @@ -1,7 +1,7 @@ from src import ModuleManager, utils -CAP = utils.irc.Capability(None, "bitbot.dev/multi-line") -BATCH = utils.irc.BatchType(None, "bitbot.dev/multi-line") +CAP = utils.irc.Capability(None, "bitbot.dev/multiline") +BATCH = utils.irc.BatchType(None, "bitbot.dev/multiline") class Module(ModuleManager.BaseModule): @utils.hook("received.cap.ls") @@ -18,7 +18,7 @@ class Module(ModuleManager.BaseModule): target = event["line"].args[0] lines = event["line"].args[1].split("\n") - batch = utils.irc.IRCSendBatch("bitbot.dev/multi-line", + batch = utils.irc.IRCSendBatch("bitbot.dev/multiline", [target]) for line in lines: batch.add_line(utils.irc.protocol.privmsg(target, line))