StarfallBot/config-sample.toml

21 lines
606 B
TOML

# == StarfallBot configuration file ==
[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"
[discord]
token = "YOUR BOT TOKEN HERE"
[twitch]
oauth_token = "oauth:TWITCH OAUTH TOKEN"
channel = "TWITCH CHANNEL NAME"