Class: Ruboty::Actions::Whoami

Inherits:
Base
  • Object
show all
Defined in:
lib/ruboty/actions/whoami.rb

Instance Attribute Summary

Attributes inherited from Base

#message

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Ruboty::Actions::Base

Instance Method Details

#callObject



4
5
6
# File 'lib/ruboty/actions/whoami.rb', line 4

def call
  message.reply(message.from_name)
end