1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00
royalnet/template_config.ini

63 lines
1.8 KiB
INI
Raw Normal View History

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
[Steam]
2018-12-10 15:43:46 +00:00
# Steam Developer API key, can be obtained at https://steamcommunity.com/dev/apikey
2018-07-24 16:03:21 +00:00
api_key =
[League of Legends]
2018-12-10 15:43:46 +00:00
# Riot Games Developer API key, can be obtained at https://developer.riotgames.com/, requires a registered project
2018-07-24 16:03:21 +00:00
riot_api_key =
[Osu!]
2018-12-10 15:43:46 +00:00
# osu! API key, can be obtained at https://osu.ppy.sh/p/api
2018-07-24 16:03:21 +00:00
ppy_api_key =
[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
2018-07-24 16:03:21 +00:00
[Telegram]
2018-12-10 15:43:46 +00:00
# Telegram bot token, obtainable at https://t.me/BotFather
2018-07-24 16:03:21 +00:00
bot_token =
2018-12-10 15:43:46 +00:00
# Telegram main group id, where errors should be reported
2018-07-24 16:03:21 +00:00
main_group =
2018-12-10 15:43:46 +00:00
[Video]
# Maximum videos in queue to predownload
cache_size = 5
# 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
[Sentry]
2018-12-10 15:43:46 +00:00
# Sentry error-reporting token obtainable at https://sentry.io
2018-07-24 16:03:21 +00:00
token =
[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