Inline dclink guild, channel and role values
This commit is contained in:
15
compose.yml
15
compose.yml
@@ -17,9 +17,6 @@ services:
|
||||
secrets:
|
||||
- rcon_password
|
||||
- forwarding_secret
|
||||
- dclink_guild
|
||||
- dclink_channel
|
||||
- dclink_role
|
||||
- dclink_token
|
||||
- luckperms_db_password
|
||||
networks:
|
||||
@@ -42,14 +39,10 @@ services:
|
||||
|
||||
ENABLE_RCON: true
|
||||
RCON_PORT: 25575
|
||||
|
||||
RCON_PASSWORD_FILE: /run/secrets/rcon_password
|
||||
CFG_RCON_PASSWORD_FILE: /run/secrets/rcon_password
|
||||
|
||||
CFG_DCLINK_GUILD_FILE: /run/secrets/dclink_guild
|
||||
CFG_DCLINK_CHANNEL_FILE: /run/secrets/dclink_channel
|
||||
CFG_DCLINK_ROLE_FILE: /run/secrets/dclink_role
|
||||
CFG_DCLINK_TOKEN_FILE: /run/secrets/dclink_token
|
||||
|
||||
CFG_LUCKPERMS_DB_PASSWORD_FILE: /run/secrets/luckperms_db_password
|
||||
|
||||
PLUGINS: |
|
||||
@@ -324,12 +317,6 @@ secrets:
|
||||
environment: RCON_PASSWORD
|
||||
forwarding_secret:
|
||||
environment: FORWARDING_SECRET
|
||||
dclink_guild:
|
||||
environment: DCLINK_GUILD
|
||||
dclink_channel:
|
||||
environment: DCLINK_CHANNEL
|
||||
dclink_role:
|
||||
environment: DCLINK_ROLE
|
||||
dclink_token:
|
||||
environment: DCLINK_TOKEN
|
||||
luckperms_db_password:
|
||||
|
||||
@@ -2,9 +2,6 @@ RCON_PASSWORD=${CFG_RCON_PASSWORD}
|
||||
|
||||
FORWARDING_SECRET=${CFG_FORWARDING_SECRET}
|
||||
|
||||
DCLINK_GUILD=${CFG_DCLINK_GUILD}
|
||||
DCLINK_CHANNEL=${CFG_DCLINK_CHANNEL}
|
||||
DCLINK_ROLE=${CFG_DCLINK_ROLE}
|
||||
DCLINK_TOKEN=${CFG_DCLINK_TOKEN}
|
||||
|
||||
LUCKPERMS_DB_PASSWORD=${CFG_LUCKPERMS_DB_PASSWORD}
|
||||
|
||||
@@ -4,11 +4,11 @@ database {
|
||||
}
|
||||
discord {
|
||||
# Guild ID of the Guild where the bot will run
|
||||
guild="${CFG_DCLINK_GUILD}"
|
||||
guild="1204371192727867393"
|
||||
# Channel ID of the channel where the bot will send the message with the button to link their account
|
||||
link-channel="${CFG_DCLINK_CHANNEL}"
|
||||
link-channel="1206721349087793192"
|
||||
# Role ID of the role that the bot will give to the linked players (If left blank, the bot will not give any roles)
|
||||
link-role="${CFG_DCLINK_ROLE}"
|
||||
link-role="1206721407568969729"
|
||||
# Message to show on the bot's status
|
||||
status-message=Minecraft
|
||||
# Bot Token (see https://discord.com/developers/applications)
|
||||
|
||||
Reference in New Issue
Block a user