module Commands class Help < Command def self.command_string "help" end def self.description "Shows you a list of available commands" end def execute message.respond ["I'm Ika! Here are the commands I know:", *Commands.registered_commands.map(&:help)].join("\n") end end end