Add configuration settings

main
Bram 2021-06-27 21:24:20 +02:00
parent 0c381a32f5
commit 9ce9e7d632
1 changed files with 14 additions and 0 deletions

14
config.py Normal file
View File

@ -0,0 +1,14 @@
# Minecraft bridge credentials
MATRIX_HOMESERVER = "https://homeserv.er"
MATRIX_USERNAME = "@bridge_username:homeserv.er"
MATRIX_PASSWORD = "bridge_password"
# Matrix users who are allowed to run OP commands in Minecraft through Matrix
MC_ADMINS = [
"@bramvdnheuvel:nltrix.net", # Bram on Matrix (example, feel free to remove)
"@_discord_625632515314548736:t2bot.io" # Bram on Discord (example, feel free to remove)
# Your username on Matrix
]
# Matrix channel that the bot should talk to
MC_CHANNEL = "!channel_id:homeserv.er"