struct

Circed::Network::NetworkState::ChannelInfo

Inherits Struct / Value / Object

Channel information structure - using struct for performance

Constructors

new(name : String, created_at : Time = Time.unix(Time.utc.to_unix))
Source

Instance methods

add_member(nickname : String, modes : Set(Char)) : Nil
Source
ban_list
Source
ban_list=(ban_list : Set(String))
Source
created_at
Source
created_at=(created_at : Time)
Source
has_member?(nickname : String) : Bool
Source
members
Source
members=(members : Hash(String, Set(Char)))
Source
modes
Source
modes=(modes : Set(Char))
Source
name
Source
password
Source
password=(password : String | Nil)
Source
remove_member(nickname : String) : Set(Char) | Nil
Source
rename_member(old_nickname : String, new_nickname : String) : Bool
Source
replace_members(members : Hash(String, Set(Char))) : Nil
Source
topic
Source
topic=(topic : String | Nil)
Source
topic_set_at
Source
topic_set_at=(topic_set_at : Time | Nil)
Source
topic_set_by
Source
topic_set_by=(topic_set_by : String | Nil)
Source
user_limit
Source
user_limit=(user_limit : Int32 | Nil)
Source