Class: ModSpox::Messages::Internal::ChangeNick
- Inherits:
-
Object
- Object
- ModSpox::Messages::Internal::ChangeNick
- Defined in:
- lib/mod_spox/messages/internal/ChangeNick.rb
Instance Attribute Summary collapse
-
#new_nick ⇒ Object
readonly
change bot’s nick to this nick.
Instance Method Summary collapse
-
#initialize(new_nick) ⇒ ChangeNick
constructor
new_nick: nick to change to Tells the bot it needs to change its nick.
Constructor Details
#initialize(new_nick) ⇒ ChangeNick
new_nick: nick to change to Tells the bot it needs to change its nick
9 10 11 |
# File 'lib/mod_spox/messages/internal/ChangeNick.rb', line 9 def initialize(new_nick) @new_nick = new_nick end |
Instance Attribute Details
#new_nick ⇒ Object (readonly)
change bot’s nick to this nick
6 7 8 |
# File 'lib/mod_spox/messages/internal/ChangeNick.rb', line 6 def new_nick @new_nick end |