Add cli parsing logic and logging to rotom_discord_bot
This commit is contained in:
20
.env.example
Normal file
20
.env.example
Normal file
@@ -0,0 +1,20 @@
|
||||
# Logging (env_logger) -----------------------------------------------------------------------------------
|
||||
|
||||
RUST_LOG="rotom_discord_bot=debug"
|
||||
|
||||
# Discord ------------------------------------------------------------------------------------------------
|
||||
|
||||
BOT_TOKEN="my_bot_token"
|
||||
|
||||
# Database -----------------------------------------------------------------------------------------------
|
||||
|
||||
# DATABASE_DIALECT="mysql"
|
||||
# DATABASE_URL="mysql://username:password@host/database"
|
||||
|
||||
# DATABASE_DIALECT="postgres"
|
||||
# DATABASE_URL="postgres://username:password@host/database"
|
||||
|
||||
DATABASE_DIALECT="sqlite"
|
||||
DATABASE_URL="/path/to/sqlite/database.db"
|
||||
|
||||
# --------------------------------------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user