StarfallBot/config-sample.toml

29 lines
741 B
TOML

# == StarfallBot configuration file ==
[app]
# Whether the application is allowed to start at all.
run = false
[discord]
# Discord bot token.
token = "YOUR BOT TOKEN HERE"
[twitch]
# Twitch OAuth token.
oauth_token = "oauth:TWITCH OAUTH TOKEN"
# Twitch channel.
channel = "TWITCH CHANNEL NAME"
[web]
# What IP the web server is bound to.
# Use "localhost" until the bot is production ready.
host = "localhost"
# What port the web server uses.
port = 5000
# Connection database url.
# sqlite is only production safe to a point - consult the SQLAlchemy
# documentation to see how to set up other databases.
database_url = "sqlite:///starfallbot.db"
# Secret key, used to sign the session cookie.
secret_key = "PRIVATE SECRET KEY CHANGEME"