Class: Say
- Inherits:
-
Sponge::Plugin
- Object
- Sponge::Plugin
- Say
- Defined in:
- lib/proto/plugins/say.rb
Constant Summary
Constants inherited from Sponge::Plugin
Sponge::Plugin::AUTH, Sponge::Plugin::LIST, Sponge::Plugin::LISTENERS
Instance Method Summary collapse
Methods inherited from Sponge::Plugin
command, has_listener?, inherited, #initialize, listen_to, requires_auth, #requires_auth?, #usage
Constructor Details
This class inherits a constructor from Sponge::Plugin
Instance Method Details
#help ⇒ Object
7 8 9 |
# File 'lib/proto/plugins/say.rb', line 7 def help "say <text> - reply in current channel with <text>" end |
#reply(message, arg) ⇒ Object
3 4 5 |
# File 'lib/proto/plugins/say.rb', line 3 def reply(, arg) .reply arg end |