From 965785ca3a01229f996583a677d06a2087590530 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Wed, 30 Jul 2008 22:44:50 +0200 Subject: [PATCH] nickrecover plugin: help --- data/rbot/plugins/nickrecover.rb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/data/rbot/plugins/nickrecover.rb b/data/rbot/plugins/nickrecover.rb index b6d8e61e..e6e56b87 100644 --- a/data/rbot/plugins/nickrecover.rb +++ b/data/rbot/plugins/nickrecover.rb @@ -21,7 +21,15 @@ class NickRecoverPlugin < Plugin bot.plugin['nickrecover'].stop_recovery end end, :requires_restart => false, - :desc => _("Time in seconds to wait between attempts to recover the nick")) + :desc => _("Time in seconds to wait between attempts to recover the nick. set to 0 to disable nick recovery.")) + + def help(plugin,topic="") + [ + _("the nickrecover plugin takes care of recovering the bot nick by trying to change nick until it succeeds."), + _("the plugin waits irc.nick_retry seconds between attempts."), + _("set irc.nick_retry to 0 to disable it.") + ].join(' ') + end def enabled? @bot.config['irc.nick_retry'] > 0 -- 2.39.5