class BotBrain::Commands::UnknownCommand
Public Class Methods
new()
click to toggle source
Calls superclass method
BotBrain::Commands::Command::new
# File lib/bot_brain/commands/unknown_command.rb, line 4 def initialize super('') end
Private Instance Methods
description()
click to toggle source
# File lib/bot_brain/commands/unknown_command.rb, line 14 def description end
example()
click to toggle source
# File lib/bot_brain/commands/unknown_command.rb, line 17 def example end
process(message)
click to toggle source
# File lib/bot_brain/commands/unknown_command.rb, line 10 def process(message) "Unknown command: #{message.text}" end