class

PrivateParlorXT::Rank

Inherits YAML::Serializable < Reference < Object

Represents a Rank which a user may belong to

Constructors

new(name : String, command_permissions : Set(PrivateParlorXT::CommandPermissions), message_permissions : Set(PrivateParlorXT::MessagePermissions))

Creates and instance of Rank

Source
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

command_permissions

The set of commands and types of commands members of this rank can use

Source
message_permissions

The set of message types members of this rank can send

Source
name

Name of this rank

Source