# Log name #name = "cringebot" # Enable OCR support for image attachments #ocr = false [defaults] # Name of the application as listed in the account settings on the server #app_name = "Cringebot" # Minimum seconds between requests to the server #rate_limit = 3 # Seconds between retrying failed requests to the server #retry_rate = 60 # Seconds between polling the server for updates #poll_interval = 15 # Minutes until cringe statuses are deleted #max_age = 600 [clients] # The client name (in quotes below) is displayed in log messages, and is # used as the default hostname of the server to connect to, and as the # default base name of the various files and folders that are used by # each client. [clients."mastodon.social"] # The URL of the server that the client connects to #base_url = "https://mastodon.social" # Where to store the authorisation key for the client #client_file = "clients/mastodon.social/client.secret" # Where to store the authorisation key for the user account #user_file = "clients/mastodon.social/user.secret" # Where to store the persisted state of the client #state_file = "clients/mastodon.social/state.json" # Where to store the training database #db_dir = "." # Where to store learned messages #cringe_dir = "data/cringe" #based_dir = "data/based" #unsure_dir = "data/unsure" # All paths are relative to the location of cringebot.py unless # explicitly absolute ones are given. # Whether or not to register (learn from) each categorised status # Enabling this gives the bot more data to work with, but errors # in categorisation will self-reinforce over time if not corrected. #register = false