IRCChannel
Inherits: RefCounted < Object
Represents an IRC channel and its state.
Description
A data container that stores information about an active IRC channel, including its name, topic, and the users currently present in the channel along with their privileges and modes.
Tutorials
Properties
|
||
|
||
|
||
|
||
|
Methods
void |
|
get_user_modes(nick: String) const |
|
get_users() const |
|
is_user_operator(nick: String) const |
|
is_user_voiced(nick: String) const |
|
void |
remove_user(nick: String) |
void |
set_user_modes(nick: String, modes: String) |
Property Descriptions
There is currently no description for this property. Please help us by contributing one!
There is currently no description for this property. Please help us by contributing one!
There is currently no description for this property. Please help us by contributing one!
There is currently no description for this property. Please help us by contributing one!
There is currently no description for this property. Please help us by contributing one!
Method Descriptions
void add_user(nick: String, modes: String = "") 🔗
Adds a user to the internal channel tracker with the specified modes. nick represents the user's nickname, and modes determines their privileges (e.g., '+o').
String get_user_modes(nick: String) const 🔗
Returns a string representing the modes (e.g., 'o', 'v') of the specified user in the channel. nick is the user's nickname.
PackedStringArray get_users() const 🔗
Returns an array of all nicknames currently present in the channel.
bool has_user(nick: String) const 🔗
Returns true if the specified nickname resides within the channel tracking list. nick is the user's nickname.
bool is_user_operator(nick: String) const 🔗
Returns true if the user possesses operator privileges ('o'/'@') within the channel. nick is the user's nickname.
bool is_user_voiced(nick: String) const 🔗
Returns true if the user possesses voice privileges ('v'/'+') within the channel. nick is the user's nickname.
void remove_user(nick: String) 🔗
Removes a user from the channel tracking list. nick is the user's nickname.
void set_user_modes(nick: String, modes: String) 🔗
Sets the mode tracking strings for a specific user in the channel. nick is the user's nickname, and modes specifies the target modes.