class StallmanBot::Commands::Status
Public Class Methods
run(bot, id, listening = nil)
click to toggle source
Calls superclass method
StallmanBot::Commands::Base::run
# File lib/stallman_bot/commands/status.rb, line 6 def self.run(bot, id, listening = nil) if listening super(bot, id, Locale.t('command.status.listening')) else super(bot, id, Locale.t('command.status.sleeping')) end listening end