PrivateParlorXT::Config
Inherits YAML::Serializable < Reference < Object
A container for values deserialized from the configuration file
Constructors
Instance methods
The value of the Rank a user will be set to when joining for the first time, getting demoted, or when one of the ranks are invalid
The value of the Rank a user will be set to when joining for the first time, getting demoted, or when one of the ranks are invalid
Limit a user's usage of DownvoteHandler for once every interval (in seconds)
A 2-element array, the first element enables the BlacklistCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the DeleteCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the DemoteCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the DownvoteHandler, the second does nothing for now as this command is not a CommandHandler
A 2-element array, the first element enables the HelpCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the InfoCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the KarmaInfoCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the KarmaSignCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the MotdCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the PinCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the PrivacyPolicyCommand and the second registers its CommandDescriptions with @BotFather
This field is not found in the config file by default; this command is always enabled and always registered regardless of if this field is in the configuration file
A 2-element array, the first element enables the PromoteCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the PurgeCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the RanksayCommand (and all the generated rankname *say commands) and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the RemoveCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the RevealCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the SignCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the SpoilerCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the StartCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the StatsCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the StopCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the ToggleDebugCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the ToggleKarmaCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the TripcodeCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the TripcodeSignCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the UnblacklistCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the UncooldownCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the UnpinCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the UpvoteHandler, the second does nothing for now as this command is not a CommandHandler
A 2-element array, the first element enables the UsersCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the VersionCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the WarnCommand and the second registers its CommandDescriptions with @BotFather
A 2-element array, the first element enables the WhitelistCommand and the second registers its CommandDescriptions with @BotFather
An array of String referring to entity types that will be removed from all messages
The limit (in days) for which a user can be inactive and still receive messages
A String or hash of linked network strings deserialized from the config file that will be processed and used to set linked_network
A hash of Int32 => String mapping the start of a karma level to the name of that level, which will be processed into ranges for karma_levels
An array of, what should be, 2-element arrays containing the start and end of codepoint ranges that are valid for ROBOT9000 text checks, which will be processed into ranges for valid_codepoints
A KarmaHandler, which manages what a user can post based on how much karma he has
A hash of Range(Int32, Int32) => String mapping a range of possible User karma values to the name of the karma level that is defined by that range
A hash of Range(Int32, Int32) => String mapping a range of possible User karma values to the name of the karma level that is defined by that range
Whether or not to allow users to attach a reason to their upvote/downvote messages
Whether or not to allow users to send photos, videos, or GIFs with a spoiler overlay
The amount of time a message can exist before expiring and being deleted from the cache
The amount of time a message can exist before expiring and being deleted from the cache
Whether or not to enable pseudonymous mode, which forces the use of tripcodes for all users and automatically prepends messages with the user's tripcode
Whether or not to give the user a warning for sending an unoriginal message and cooldown according to the number of warnings
Whether or not to relay forwarded messages as though a PhotoHandler, TextHandler, or similar UpdateHandler got them
Whether or not to relay forwarded messages and enable the ForwardHandler
Limit a users' usage of SignCommand and TripodeSignCommand for once every interval (in seconds)
An array of emoticons shown in InfoCommand messages that start out happy and get sadder based on the number of user warnings
An array of emoticons shown in InfoCommand messages that start out happy and get sadder based on the number of user warnings
Whether or not to enable the recording of message statistics to be viewed later using the StatsCommand
Toggle ROBOT9000 for forwards; checks the text and media for forwards if both/either toggle_r9k_text and/or toggle_r9k_media are enabled
Limit a user's usage of UpvoteHandler for once every interval (in seconds)
An array of Range(Int32, Int32) containing valid codepoints for ROBOT9000 text checks; characters in text that lie outside these ranges will signal that the text is invalid. Defaults to the ASCII character range
An array of Range(Int32, Int32) containing valid codepoints for ROBOT9000 text checks; characters in text that lie outside these ranges will signal that the text is invalid. Defaults to the ASCII character range