# Discord Alert
This is a plugin for NINA to allow for in-sequence messages sent to a discord server via webhook
See more about Discord's Webhooks here
Using mentions in webhooks are a little different than regular typing into a discord client so this is a bit of a tutorial.
"@everyone" and "@here" are the same, you can just type them in as normal and the expected result will happen
Users and Roles require the ID in order to mention them, are a couple of ways to get it
In the server you want to mention the user or role type \@mention (where mention would be the user/role name) for example if I have a group called NINA I would type \@NINA. This will output a line of text that will look like <@0000000000> or <@&0000000000>, copy that whole line and put it in the message text box and that will mention the user / group
<@[ID]>
<@&[ID]>
You can use the NINA patterns in your messages, simply use the dolar sign notation in your message (For example: "Using telescope $$TELESCOPE$$
"). You can find examples of these in NINA by going to Options > Imaging and look at the patterns on the left column.
See the below table for support:
Pattern | Send after image | Send message / Send after failure |
---|---|---|
Time Category | ✅ | ✅ |
Camera Category | ✅ | ✅ |
$$SEQUENCETITLE$$ |
✅ | ✅ |
$$TARGETNAME$$ |
✅ | ✅ |
Others in Image Category | ✅ | ❌ |
$$FILTER$$ |
✅ | ✅ |
Focuser Category | ✅ | ✅ |
Guider Category | ✅ | ❌ |
$$ROTATORANGLE$$ |
✅ | ✅ |
$$SQM$$ |
✅ | ❌ |
$$TELESCOPE$$ |
✅ | ✅ |
Placeholders added by other plugins | ❌ | ❌ |
I'm open to suggestions, please submit one via GitHub's issue tracker.
I'm in the NINA discord server as Kiwi🥝