game-discord-bot/example/config.yml

26 lines
777 B
YAML
Raw Normal View History

2024-09-04 10:47:06 +02:00
bot":
# Get the token by doing https://discordpy.readthedocs.io/en/stable/discord.html
# we need (privileged) Message Content Intent and the Send Message Bot permission
token: "aslkjdasjldjsaldjasl"
# Channel-ID of whitelisted Channels
channels:
- 12873281123123213213121328193
- 213021232132132131093801832
# Usernames of people that are whitelisted to send commands
whitelist:
- username
games:
# Display name
- displayname: "Minecraft Vanilla Server"
# slug is used in the actual chat commands
slug: "mc-v"
# systemd service name that you would use in 'sytemctl restart xyz'
systemd: "minecraft-vanilla01.service"
- displayname: "Minecraft AllTheMods 8"
slug: "mc-atm8"
systemd: "minecraft-allthemods8.service"