From aa37b854294304505b0b5d5e474fa9fcf5a0cae0 Mon Sep 17 00:00:00 2001 From: Jan Date: Sat, 19 Feb 2022 10:32:13 +0100 Subject: [PATCH] Add labymod/discord-webhook-bundle (#1345) * Add labymod/discord-webhook-bundle * Fix config location * Update docs link --- .../1.0/config/packages/discord_webhook.yaml | 3 +++ labymod/discord-webhook-bundle/1.0/manifest.json | 11 +++++++++++ labymod/discord-webhook-bundle/1.0/post-install.txt | 8 ++++++++ 3 files changed, 22 insertions(+) create mode 100644 labymod/discord-webhook-bundle/1.0/config/packages/discord_webhook.yaml create mode 100644 labymod/discord-webhook-bundle/1.0/manifest.json create mode 100644 labymod/discord-webhook-bundle/1.0/post-install.txt diff --git a/labymod/discord-webhook-bundle/1.0/config/packages/discord_webhook.yaml b/labymod/discord-webhook-bundle/1.0/config/packages/discord_webhook.yaml new file mode 100644 index 00000000..621ac0f8 --- /dev/null +++ b/labymod/discord-webhook-bundle/1.0/config/packages/discord_webhook.yaml @@ -0,0 +1,3 @@ +discord_webhook: + default_url: '%env(DWH_DEFAULT_URL)%' + clients: { } diff --git a/labymod/discord-webhook-bundle/1.0/manifest.json b/labymod/discord-webhook-bundle/1.0/manifest.json new file mode 100644 index 00000000..115fe304 --- /dev/null +++ b/labymod/discord-webhook-bundle/1.0/manifest.json @@ -0,0 +1,11 @@ +{ + "bundles": { + "DiscordWebhookBundle\\DiscordWebhookBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "DWH_DEFAULT_URL": "" + } +} diff --git a/labymod/discord-webhook-bundle/1.0/post-install.txt b/labymod/discord-webhook-bundle/1.0/post-install.txt new file mode 100644 index 00000000..0bbb792e --- /dev/null +++ b/labymod/discord-webhook-bundle/1.0/post-install.txt @@ -0,0 +1,8 @@ + * Getting started with Discord webhooks: + 1. Open up your .env file and set the default webhook URL + 2. Optional: Start creating additional clients in config/discord_webhook.yaml + 3. Start using webhooks! + + * Read the documentation: + 1. For the Bundle: https://github.com/LabyMod/discord-webhook-bundle/blob/master/README.md + 2. For using and configuring the webhooks: https://github.com/LabyMod/discord-webhook/blob/master/README.md