2018-07-24 16:03:21 +00:00
|
|
|
[Database]
|
2018-12-10 15:43:46 +00:00
|
|
|
# Database URI in the SQLAlchemy format; a PostgreSQL database is suggested, but others _may_ work too
|
2018-09-05 17:48:34 +00:00
|
|
|
database_uri = postgres://
|
2018-07-24 16:03:21 +00:00
|
|
|
|
|
|
|
[Discord]
|
2018-12-10 15:43:46 +00:00
|
|
|
# Discord bot token, obtained at https://discordapp.com/developers/applications/
|
2018-07-24 16:03:21 +00:00
|
|
|
bot_token =
|
2018-12-10 15:43:46 +00:00
|
|
|
# Server id (guild) in which the bot should be used in (with Developer Mode on, RMB+Copy ID)
|
2018-07-24 16:03:21 +00:00
|
|
|
server_id =
|
2018-12-10 15:43:46 +00:00
|
|
|
# Channel in which all generic messages should be sent (again RMB+Copy ID)
|
2018-07-24 16:03:21 +00:00
|
|
|
main_channel =
|
2018-12-10 15:43:46 +00:00
|
|
|
# Time in minutes before the bot automatically disconnects from voice chat
|
|
|
|
afk_timer = 30
|
2019-01-02 20:11:39 +00:00
|
|
|
# Time in between two activity reports (viewable at https://ryg.steffo.eu/activity)
|
2018-11-28 20:00:12 +00:00
|
|
|
activityreport_sample_time = 600
|
2019-01-03 13:17:44 +00:00
|
|
|
# Enable song text easter eggs?
|
|
|
|
song_text_easter_eggs_enabled = True
|
2018-12-10 15:43:46 +00:00
|
|
|
# Maximum videos in queue to predownload
|
2019-01-03 13:17:44 +00:00
|
|
|
video_cache_size = 5
|
2018-12-10 15:43:46 +00:00
|
|
|
# Maximum time a video may take to become ready (download time) before being removed from the queue
|
|
|
|
max_ready_time = 30
|
|
|
|
# Enable radio messages?
|
|
|
|
radio_messages_enabled = False
|
|
|
|
# Number of videos between two radio messages
|
|
|
|
radio_messages_every = 5
|
2018-07-24 16:03:21 +00:00
|
|
|
|
2019-01-03 13:17:44 +00:00
|
|
|
[Telegram]
|
|
|
|
# Telegram bot token, obtainable at https://t.me/BotFather
|
|
|
|
bot_token =
|
|
|
|
# Telegram main group id, where errors should be reported
|
|
|
|
main_group =
|
2018-07-24 16:03:21 +00:00
|
|
|
|
|
|
|
[Flask]
|
2018-12-10 15:43:46 +00:00
|
|
|
# Secret key, used to encrypt cookies
|
2018-09-05 17:48:34 +00:00
|
|
|
secret_key =
|
|
|
|
|
|
|
|
[reddit]
|
2018-12-10 15:43:46 +00:00
|
|
|
# Client API id obtainable at https://www.reddit.com/dev/api/
|
2018-09-05 17:48:34 +00:00
|
|
|
client_id =
|
2018-12-10 15:43:46 +00:00
|
|
|
# Client API secret obtainable at https://www.reddit.com/dev/api/
|
2018-09-05 17:48:34 +00:00
|
|
|
client_secret =
|
2018-12-10 15:43:46 +00:00
|
|
|
# Bot username
|
2018-09-05 17:48:34 +00:00
|
|
|
username =
|
2018-12-10 15:43:46 +00:00
|
|
|
# Bot password
|
2018-09-05 17:48:34 +00:00
|
|
|
password =
|
2018-12-10 15:43:46 +00:00
|
|
|
|
2019-01-03 13:17:44 +00:00
|
|
|
[Steam]
|
|
|
|
# Steam Developer API key, can be obtained at https://steamcommunity.com/dev/apikey
|
|
|
|
api_key =
|
|
|
|
|
|
|
|
[League of Legends]
|
|
|
|
# Riot Games Developer API key, can be obtained at https://developer.riotgames.com/, requires a registered project
|
|
|
|
riot_api_key =
|
|
|
|
|
|
|
|
[Osu!]
|
|
|
|
# osu! API key, can be obtained at https://osu.ppy.sh/p/api
|
|
|
|
ppy_api_key =
|
|
|
|
|
|
|
|
[Sentry]
|
|
|
|
# Sentry error-reporting token obtainable at https://sentry.io
|
|
|
|
token =
|