use discord instead of sendgrid

This commit is contained in:
Matthew Tran
2025-05-06 03:31:31 -07:00
parent 8bd3def755
commit 516a02060c
5 changed files with 25 additions and 26 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
}
],
"website": {
"sendgrid_key": "<SendGrid API key from https://app.sendgrid.com/settings/api_keys>"
"discord_hook": "<Secret Discord Webhook>"
},
"minecraft": {
"world": "main"
+2 -2
View File
@@ -27,8 +27,8 @@ IMAGES = {
def generate(cfg):
# website
with open("website/sendgrid.key", "w") as f:
f.write(cfg["website"]["sendgrid_key"])
with open("website/discord.txt", "w") as f:
f.write(cfg["website"]["discord_hook"])
# minecraft
shutil.copy("minecraft/server.default", "minecraft/server.properties")