1 class AutoRejoinPlugin < Plugin
2 def help(plugin, topic="")
3 "performs an automatic rejoin if the bot is kicked from a channel"
9 @bot.timer.add_once(r, m) {|m|
11 @bot.say m.channel, @bot.lang.get("insult") % m.sourcenick
15 @bot.say m.channel, @bot.lang.get("insult") % m.sourcenick
21 plugin = AutoRejoinPlugin.new
22 plugin.register("autorejoin")