Method: Cinch::Channel#mode
- Defined in:
- lib/cinch/channel.rb
#mode(s)
This method returns an undefined value.
Sets or unsets modes. Most of the time you won’t need this but use setter methods like #invite_only=.
360 361 362 |
# File 'lib/cinch/channel.rb', line 360 def mode(s) @bot.irc.send "MODE #@name #{s}" end |