diff --git a/Notify_discord.md b/Notify_discord.md index 98c71d2..034aa4e 100644 --- a/Notify_discord.md +++ b/Notify_discord.md @@ -20,6 +20,12 @@ The last part of the URL you're given make up the 2 tokens you need to send noti 1. **WebhookID** is ```4174216298``` 2. **WebhookToken** is ```JHMHI8qBe7bk2ZwO5U711o3dV_js``` +### Pinging Roles, Tags, and Users +The discord message body can contain content such as the following to trigger the appropriate pings +- **user**: `<@123>` +- **role**: `<@&456>` +- **tag**: `@everyone` + ### Syntax Valid syntax is as follows: * `https://discordapp.com/api/webhooks/{WebhookID}/{WebhookToken}` @@ -60,3 +66,10 @@ If you want to have your own custom avatar URL you're already hosting from anoth apprise -vv -t "Test Message Title" -b "Test Message Body" \ "discord://4174216298/JHMHI8qBe7bk2ZwO5U711o3dV_js?avatar_url=https://i.imgur.com/FsEpmwg.jpeg" ``` +Send a notification that notifies `@everyone` in the channel: +```bash +# Assuming our {WebhookID} is 4174216298 +# Assuming our {WebhookToken} is JHMHI8qBe7bk2ZwO5U711o3dV_js +apprise -vv -t "Hello All" -b "Test Message that pings @everyone" \ + "discord://4174216298/JHMHI8qBe7bk2ZwO5U711o3dV_js" +``` \ No newline at end of file