add yaml stuff for later use
This commit is contained in:
parent
dc06ec1d20
commit
54f40a39c9
3 changed files with 33 additions and 2 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -160,3 +160,7 @@ cython_debug/
|
||||||
#.idea/
|
#.idea/
|
||||||
|
|
||||||
config.py
|
config.py
|
||||||
|
config.yml
|
||||||
|
config.yaml
|
||||||
|
|
||||||
|
!example/*
|
||||||
|
|
26
example/config.yml
Normal file
26
example/config.yml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
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"
|
|
@ -1 +1,2 @@
|
||||||
discord.py
|
discord.py
|
||||||
|
pyyaml
|
Loading…
Reference in a new issue