Class: ModSpox::Messages::Outgoing::UserMode
- Inherits:
-
Object
- Object
- ModSpox::Messages::Outgoing::UserMode
- Defined in:
- lib/mod_spox/messages/outgoing/UserMode.rb
Instance Attribute Summary collapse
-
#mode ⇒ Object
readonly
mode to set/unset.
-
#nick ⇒ Object
readonly
The bot’s nick.
Instance Method Summary collapse
-
#initialize(nick, mode) ⇒ UserMode
constructor
- nick
- The bot’s nick mode
-
mode to set/unset Create UserMode message.
Constructor Details
#initialize(nick, mode) ⇒ UserMode
- nick
-
The bot’s nick
- mode
-
mode to set/unset
Create UserMode message
12 13 14 15 |
# File 'lib/mod_spox/messages/outgoing/UserMode.rb', line 12 def initialize(nick, mode) @nick = nick @mode = mode end |
Instance Attribute Details
#mode ⇒ Object (readonly)
mode to set/unset
8 9 10 |
# File 'lib/mod_spox/messages/outgoing/UserMode.rb', line 8 def mode @mode end |
#nick ⇒ Object (readonly)
The bot’s nick
6 7 8 |
# File 'lib/mod_spox/messages/outgoing/UserMode.rb', line 6 def nick @nick end |