Skip to content

Commit

Permalink
add votifier example to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
granny committed Jul 2, 2024
1 parent 0d5dc94 commit c9922f0
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/alerts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,24 @@ Helpful resources for learning how to use SpEL:
</TabItem>
</Tabs>

### NuVotifier (Votifier)

<Tabs>
<TabItem value="nuvotifier-votifierevent" label="VotifierEvent" default>
[VotifierEvent.java](http://vexsoftware.github.io/votifier/docs/com/vexsoftware/votifier/model/VotifierEvent.html)
```yaml
# Example alert to send a message when a player has voted
- Trigger: VotifierEvent
Channel: votes
Embed:
Color: "#00ff00"
Author:
ImageUrl: "{embedavatarurl}"
Name: "${vote.username} voted on ${vote.serviceName}!"
```
</TabItem>
</Tabs>

### PlayerAuctions

<Tabs>
Expand Down

0 comments on commit c9922f0

Please sign in to comment.