class

PrivateParlorXT::HandlerConfig

Inherits Reference < Object

Contains a limited set of Config variables that are needed for handlers

Constructors

new(config : Config)

Creates a new instance of `HandlerConfig``

Source

Instance methods

allow_effects

Whether or not to allow users to send messages with a message effect animation

Source
allow_spoilers

Whether or not to allow users to send photos, videos, or GIFs with a spoiler overlay

Source
blacklist_contact

Returns the contact string shown to blacklisted users

Source
cooldown_base

The base integer for which cooldown times are computed from

Source
default_rank

The value of the Rank a user will be set to when joining for the first time or getting demoted

Source
downvote_limit_interval

Limit a user's usage of DownvoteHandler for once every interval (in seconds)

Source
entity_types

An array of String referring to entity types that will be removed from all messages

Source
flag_signatures

Whether or not to replace tripcodes with a flag or emoji signature

Source
karma_levels

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

Source
karma_reasons

Whether or not to allow users to attach a reason to their upvote/downvote messages

Source
linked_network

A hash of String => String mapping the name of a chat to the chat's username

Source
media_limit_period

The duration (in hours) in which new users cannot send media

Source
pseudonymous

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

Source
registration_open

Whether or not registration is open, allowing new users to join

Source
sign_limit_interval

Limit a users' usage of SignCommand and TripodeSignCommand for once every interval (in seconds)

Source
tripcode_salt

A String used to generate secure tripcodes

Source
upvote_limit_interval

Limit a user's usage of UpvoteHandler for once every interval (in seconds)

Source
warn_deduction

The amount of karma to remove from a user when receiving a cooldown

Source
warn_lifespan

The length of time (in hours) until a warning expires

Source