mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
add replies function to reply plugin, which makes multiple replies, if supybot.reply.oneToOne is false.
This commit is contained in:
parent
56862da549
commit
bb44d433f5
@ -74,6 +74,15 @@ class Reply(callbacks.Plugin):
|
||||
irc.reply(text, prefixNick=True)
|
||||
reply = wrap(reply, ['text'])
|
||||
|
||||
def replies(self, irc, msg, args, strings):
|
||||
"""<str> [<str> ...]
|
||||
|
||||
Replies with each of its arguments <str> in separate replies, depending
|
||||
the configuration of supybot.reply.oneToOne.
|
||||
"""
|
||||
irc.replies(strings)
|
||||
replies = wrap(replies, [many('something')])
|
||||
|
||||
Class = Reply
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user