2024-01-01 17:51:33 +01:00
|
|
|
config = {
|
|
|
|
"bot": {
|
2024-01-01 19:31:29 +01:00
|
|
|
# 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
|
2024-01-01 17:51:33 +01:00
|
|
|
"token": "aslkjdasjldjsaldjasl",
|
2024-01-01 19:31:29 +01:00
|
|
|
# Channel-ID of whitelisted Channels
|
2024-01-01 17:51:33 +01:00
|
|
|
"channels": [
|
|
|
|
12873281371823821328193, # laura lol, bot-test
|
|
|
|
21302918421093801832 # LiLa Network Clubhaus, game-control
|
|
|
|
],
|
2024-01-01 19:31:29 +01:00
|
|
|
# Username of people that are whitelisted to send commands
|
2024-01-01 17:51:33 +01:00
|
|
|
"whitelist": [
|
|
|
|
"username"
|
|
|
|
]
|
|
|
|
|
|
|
|
},
|
|
|
|
"games": [
|
|
|
|
{
|
2024-01-01 19:31:29 +01:00
|
|
|
# Display name
|
2024-01-01 17:51:33 +01:00
|
|
|
"displayname": "Minecraft Vanilla Server",
|
2024-01-01 19:31:29 +01:00
|
|
|
# slug is used in the actual chat commands
|
2024-01-01 17:51:33 +01:00
|
|
|
"slug": "mc-v",
|
2024-01-01 19:31:29 +01:00
|
|
|
# systemd service name that you would use in 'sytemctl restart xyz'
|
2024-01-01 17:51:33 +01:00
|
|
|
"systemd": "minecraft-vanilla01.service"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"displayname": "Minecraft AllTheMods 8",
|
|
|
|
"slug": "mc-atm8",
|
|
|
|
"systemd": "minecraft-allthemods8.service"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|