forked from Minecraft/canopeas
135 lines
2.9 KiB
TOML
135 lines
2.9 KiB
TOML
# token is the Discord token for the bot
|
|
token = ""
|
|
|
|
# prefix is the bot command prefix
|
|
prefix = "!"
|
|
|
|
# db_path is the path to the database (default is next to binary)
|
|
db_path = "canopeas.db"
|
|
|
|
# mc_path is the path to the root directory of the minecraft server
|
|
mc_path = "/home/minecraft/server/"
|
|
|
|
# fired_role is to check how many time Carolyn has been fired
|
|
fired_role = "0"
|
|
|
|
# leave_channel is the channel to post leave messages to
|
|
leave_channel = "0"
|
|
|
|
# staff_roles are for staff commands
|
|
staff_roles = []
|
|
|
|
# meme_rate is the rate limit for memes
|
|
meme_rate = "0"
|
|
|
|
# Imgur Client ID
|
|
imgur_client_id = ""
|
|
|
|
# Welcome new users
|
|
[welcome]
|
|
|
|
# Channel ID of the welcome channel
|
|
channel = "0"
|
|
|
|
# Message to send in welcome channel
|
|
message = """\
|
|
**Hey ${user}, welcome to The Canopy 🎉 !**
|
|
|
|
If you are new, please read #rules and fill out an application here: https://canopymc.net/apply.
|
|
|
|
You will need to join our creative server at `creative.canopymc.net` to be verified.
|
|
|
|
**After** applying and joining the server, please run the `!register <MC username>` (without the brackets) command in this channel to join the Discord!
|
|
"""
|
|
|
|
# DM to send to user
|
|
dm = """\
|
|
**Hey ${user}, welcome to The Canopy 🎉 !**
|
|
|
|
If you are new, please read #rules and fill out an application here: https://canopymc.net/apply.
|
|
|
|
You will need to join our survival server at `creative.canopymc.net` to be verified.
|
|
|
|
After doing that please run the `!register <MC username>` (without the brackets) command in the welcome channel to join the Discord!
|
|
"""
|
|
|
|
[register]
|
|
# role is the role to assign to a user after registering
|
|
role = "0"
|
|
|
|
# url is the URL to show to new users
|
|
url = "https://google.com"
|
|
|
|
# welcome_channel is the channel to message to welcome the newly registered user
|
|
welcome_channel = "0"
|
|
|
|
# ServerAPI options
|
|
[serverapi]
|
|
# API endpoint
|
|
endpoint = ""
|
|
# Auth token
|
|
token = ""
|
|
|
|
# Twitter options
|
|
[twitter]
|
|
# Consumer Key
|
|
consumer_key = ""
|
|
# Consumer Secret
|
|
consumer_secret = ""
|
|
# Access Token
|
|
access_token = ""
|
|
# Access Secret
|
|
access_secret = ""
|
|
|
|
# Server options
|
|
[server]
|
|
# connection address
|
|
address = ""
|
|
# connection port
|
|
port = 25565
|
|
|
|
# MCM options
|
|
[mcm]
|
|
# the token for the MCM API
|
|
token = ""
|
|
# the base URL to the MCM API
|
|
url = ""
|
|
|
|
# insults
|
|
# <args>, your <target> looks like <comparison>, you <adjective> <noun>
|
|
[insult]
|
|
targets = []
|
|
comparisons = []
|
|
adjectives = []
|
|
nouns = []
|
|
|
|
# compliments
|
|
# <args>, I would <verb> my <noun> just to <minor thing>.
|
|
[compliment]
|
|
verbs = []
|
|
nouns = []
|
|
minor_things = []
|
|
|
|
[[albums]]
|
|
name = "jupiter"
|
|
aliases = ["jup", "jupjup"]
|
|
album_id = ""
|
|
help = "Images of Jupiter"
|
|
|
|
# echoes are any basic command -> message
|
|
[[echoes]]
|
|
name = "discord"
|
|
aliases = ["invite", "gib"]
|
|
message = "<https://birbmc.com/discord>"
|
|
help = "Get the invite link"
|
|
|
|
# message_roles are for messages that should toggle a role when a user selects it
|
|
[[message_roles]]
|
|
channel_id = "0"
|
|
message_id = "0"
|
|
[[message_roles.reactions]]
|
|
role_id = "0"
|
|
emoji = "👍"
|
|
[[message_roles.reactions]]
|
|
role_id = "0"
|
|
emoji = "👎" |