class Config

Included Modules

Defined in:

privateparlor/config/config.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]

Instance Method Detail

def after_initialize #

[View source]
def allow_media_spoilers : Bool | Nil #

[View source]
def blacklist_contact : String | Nil #

[View source]
def cooldown_time_begin : Array(Int32) #

[View source]
def cooldown_time_linear_b : Int32 #

[View source]
def cooldown_time_linear_m : Int32 #

[View source]
def database : String #

[View source]
def database_history : Bool | Nil #

[View source]
def default_rank : Int32 #

[View source]
def default_rank=(default_rank : Int32) #

[View source]
def downvote_limit_interval : Int32 #

[View source]
def enable_blacklist : Array(Bool) #

[View source]
def enable_delete : Array(Bool) #

[View source]
def enable_demote : Array(Bool) #

[View source]
def enable_downvote : Array(Bool) #

[View source]
def enable_help : Array(Bool) #

[View source]
def enable_info : Array(Bool) #

[View source]
def enable_karma_info : Array(Bool) #

[View source]
def enable_karma_sign : Array(Bool) #

[View source]
def enable_motd : Array(Bool) #

[View source]
def enable_pin : Array(Bool) #

[View source]
def enable_promote : Array(Bool) #

[View source]
def enable_purge : Array(Bool) #

[View source]
def enable_ranksay : Array(Bool) #

[View source]
def enable_remove : Array(Bool) #

[View source]
def enable_reveal : Array(Bool) #

[View source]
def enable_sign : Array(Bool) #

[View source]
def enable_spoiler : Array(Bool) #

[View source]
def enable_start : Array(Bool) #

[View source]
def enable_stop : Array(Bool) #

[View source]
def enable_toggle_debug : Array(Bool) #

[View source]
def enable_toggle_karma : Array(Bool) #

[View source]
def enable_tripcode : Array(Bool) #

[View source]
def enable_tripsign : Array(Bool) #

[View source]
def enable_uncooldown : Array(Bool) #

[View source]
def enable_unpin : Array(Bool) #

[View source]
def enable_upvote : Array(Bool) #

[View source]
def enable_users : Array(Bool) #

[View source]
def enable_version : Array(Bool) #

[View source]
def enable_warn : Array(Bool) #

[View source]
def enable_whitelist : Array(Bool) #

[View source]
def entities : Array(String) #

[View source]
def entities=(entities : Array(String)) #

[View source]
def full_usercount : Bool | Nil #

[View source]
def inactivity_limit : Int32 #

[View source]
def intermediary_linked_network : Hash(String, String) | String | Nil #

[View source]
def intermediate_valid_codepoints : Array(Array(Int32)) | Nil #

[View source]
def karma_levels : Hash(Int32, String) #

[View source]
def karma_levels=(karma_levels : Hash(Int32, String)) #

[View source]
def karma_warn_penalty : Int32 #

[View source]
def lifetime : UInt32 #

[View source]
def lifetime=(lifetime : UInt32) #

[View source]
def linked_network : Hash(String, String) #

[View source]
def locale : String #

[View source]
def log_channel : String #

[View source]
def log_file : String | Nil #

[View source]
def log_level : Log::Severity #

[View source]
def media_limit_period : Int32 #

[View source]
def pseudonymous : Bool | Nil #

[View source]
def r9k_cooldown : Int32 #

[View source]
def r9k_warn : Bool | Nil #

[View source]
def ranks : Hash(Int32, Rank) #

[View source]
def ranks=(ranks : Hash(Int32, Rank)) #

[View source]
def registration_open : Bool | Nil #

[View source]
def regular_forwards : Bool | Nil #

[View source]
def relay_animation : Bool | Nil #

[View source]
def relay_audio : Bool | Nil #

[View source]
def relay_basketball : Bool | Nil #

[View source]
def relay_bowling : Bool | Nil #

[View source]
def relay_contact : Bool | Nil #

[View source]
def relay_dart : Bool | Nil #

[View source]
def relay_dice : Bool | Nil #

[View source]
def relay_document : Bool | Nil #

[View source]
def relay_forwarded_message : Bool | Nil #

[View source]
def relay_location : Bool | Nil #

[View source]
def relay_media_group : Bool | Nil #

[View source]
def relay_photo : Bool | Nil #

[View source]
def relay_poll : Bool | Nil #

[View source]
def relay_slot_machine : Bool | Nil #

[View source]
def relay_soccerball : Bool | Nil #

[View source]
def relay_sticker : Bool | Nil #

[View source]
def relay_text : Bool | Nil #

[View source]
def relay_venue : Bool | Nil #

[View source]
def relay_video : Bool | Nil #

[View source]
def relay_video_note : Bool | Nil #

[View source]
def relay_voice : Bool | Nil #

[View source]
def salt : String #

[View source]
def sign_limit_interval : Int32 #

[View source]
def smileys : Array(String) #

[View source]
def smileys=(smileys : Array(String)) #

[View source]
def spam_interval_seconds : Int32 #

[View source]
def spam_score_handler : SpamScoreHandler #

[View source]
def toggle_r9k_forwards : Bool | Nil #

[View source]
def toggle_r9k_media : Bool | Nil #

[View source]
def toggle_r9k_text : Bool | Nil #

[View source]
def token : String #

[View source]
def upvote_limit_interval : Int32 #

[View source]
def valid_codepoints : Array(Range(Int32, Int32)) #

[View source]
def valid_codepoints=(valid_codepoints : Array(Range(Int32, Int32))) #

[View source]
def warn_expire_hours : Int32 #

[View source]