def help(cmd, topic="")
case cmd
when "quit"
_("quit [<message>] => quit IRC with message <message>")
when "restart"
_("restart => completely stop and restart the bot (including reconnect)")
when "join"
_("join <channel> [<key>] => join channel <channel> with secret key <key> if specified. #{@bot.myself} also responds to invites if you have the required access level")
when "part"
_("part <channel> => part channel <channel>")
when "hide"
_("hide => part all channels")
when "say"
_("say <channel>|<nick> <message> => say <message> to <channel> or in private message to <nick>")
when "action"
_("action <channel>|<nick> <message> => does a /me <message> to <channel> or in private message to <nick>")
when "quiet"
_("quiet [in here|<channel>] => with no arguments, stop speaking in all channels, if \"in here\", stop speaking in this channel, or stop speaking in <channel>")
when "talk"
_("talk [in here|<channel>] => with no arguments, resume speaking in all channels, if \"in here\", resume speaking in this channel, or resume speaking in <channel>")
when "ping"
_("ping => replies with a pong")
when "mode"
_("mode <channel> <mode> <nicks> => set channel modes for <nicks> on <channel> to <mode>")
else
_("%{name}: quit, restart, join, part, hide, save, say, action, topic, quiet, talk, ping, mode") % {:name=>name}
end
end