Update conf.example.toml

master^2
Auri Collings 2021-03-17 15:39:07 -07:00 committed by GitHub
parent 0cf4a7e6f3
commit c194afd2ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 34 additions and 15 deletions

View File

@ -1,24 +1,43 @@
[auth] [auth]
discord = "DISCORD_BOT_TOKEM" # A Discord Bot token
mongo_url = "MONGO_DB_URL" discord = "token"
# MongoDB URL
mongo_url = "mongodb://host/database"
[options] [options]
status = "YOUR_CUSTOM_STATUS" # Custom status
prefix = "BOT_PREFIX" status = "Hanging out"
delete_triggers = true/false # Command prefix
prefix = "/"
# Delete commands after execution
delete_triggers = true
[plugin.level] [plugin.level]
please_and_thank_you = true/false # Bot responds to "good dog" after ranking up.
please_and_thank_you = false
[plugin.level.message] [plugin.level.message]
cooldown = number # Cooldown time
min_length = number cooldown = 30
# Minimum message length
min_length = 30
[plugin.level.experience] # https://www.desmos.com/calculator/80hyi0deu6 [plugin.level.experience]
a = number # https://www.desmos.com/calculator/80hyi0deu6
b = number # First level XP offset.
c = number a = 15
# Larger values makes XP / level higher.
b = 6.5
# Larger values make XP / level exponentially higher.
c = 1.5
[[plugin.level.roles]] # bots [[plugin.level.roles]]
level = number # Level to acquire role
role = "YOUR_ROLE_ID" level = 1
role = "RoleID"
[[plugin.level.roles]]
level = 2
role = "RoleID"
[[plugin.level.roles]]
level = 5
role = "RoleID"