Class: KAG::Help::Plugin
- Inherits:
-
Object
- Object
- KAG::Help::Plugin
- Includes:
- Cinch::Commands, Cinch::Plugin, Common
- Defined in:
- lib/kag/help/plugin.rb
Instance Method Summary collapse
Methods included from Common
#_h, #debug, #is_admin, #is_banned?, #reply, #send_channels_msg
Methods included from Cinch::Commands
Instance Method Details
#help(m) ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/kag/help/plugin.rb', line 15 def help(m) if m.user.authed? m.user.send(_h("general_help",{ :nick => m.user.nick })) else m.user.send(_h("general_not_authed",{ :nick => m.user.nick })) end end |