class Help

Public Instance Methods

execute(m) click to toggle source
# File lib/rateless_bot/plugins/help.rb, line 12
def execute(m)
  m.user.notice("List of commands:")

  bot.plugins.each do |p|
    if p.respond_to? :help
      m.user.notice(p.help)
    end
  end
end
help() click to toggle source
# File lib/rateless_bot/plugins/help.rb, line 4
def help
  '!help - shows this help message'
end