Triggers showcase
Here's a quick preview of all available triggers:
Word
Triggers on specific words/patterns
Reaction
Fires once someone reacts to a message
Button
Detects users clicking buttons sent by the bot
Menu
Activates when someone confirms their choice in menu
Slash command
Responds to a discord slash command created with the bot
Modal
Triggers on submittion of a modal (form) if that modal was sent by the bot
Channel
Detects channels being added or removed
Role
Triggers on role assignment
Timed event
Executes the code at a set time
Interval
Repeatedly executes the code once in a specific time (e.g every hour)
Voice
Fires of when user leaves or joins a voice channel
Server boost
Detects people boosting the server
Join or Leave
Triggers when someone joins or leaves the server
Library
A code which can be imported in any other code
In this example $includeLibrary has been used to import a library called
tools
which contained a custom $embedMsg function.