Creating a Trigger
1
Open Your Workspace
Visit the Panora Dashboard, log in, and select your workspace. From the sidebar, navigate to the
Action Triggers tab. See Initial Setup2
Create a New Trigger
Click
+ New Trigger and fill in the required details, such as the trigger
name and description.3
Configure Trigger Settings
Customize your trigger’s settings, including announcement channels, embed
options, message formatting, timing features, and field configurations.
4
Using the Trigger Command
Head over to your Discord server and type
This will execute the trigger and send the announcement based on your configuration.
!triggerName, replacing it with the name you created.This will execute the trigger and send the announcement based on your configuration.
Configuration Breakdown
Configure the following fields to set up your Action Trigger:The name of the trigger that will be used to activate the command.Example:
training, event, reminderThe message template used when the trigger is executed. Supports dynamic placeholders.Example:
Welcome to {server}! The event starts in {channel}.A list of Role IDs that can execute this trigger.Example:
@Executive, @Management | Default: @everyoneThe Discord Channel ID where the action trigger message will be posted.Example:
#announcements | Default: Sends in the channel it was triggered from.Toggle Embeds to enable or disable embedded formatting for messages.Default:
falseThe border color of the embed when enabled.Default:
24bef9The title text displayed at the top of the embed.Example:
Training Session AnnouncementMakes the embed title clickable with this URL link.Example:
https://discord.gg/your-serverThe author name displayed in the embed header.Example:
Panora Management TeamIcon URL displayed next to the author name.Example:
https://example.com/author-icon.pngImage URL to include in the embedded message.Example:
https://mintlify.s3.us-west-1.amazonaws.com/panora-eb46612e/images/panorabanner.pngThumbnail URL to include in the embedded message.Example:
https://mintlify.s3.us-west-1.amazonaws.com/panora-eb46612e/images/panorabanner.pngFooter text displayed at the bottom of the embed.Example:
Panora Bot SystemIcon URL displayed next to the footer text.Example:
https://example.com/footer-icon.pngToggle to show/hide timestamp in the embed footer.Default:
falseDefines who should be pinged when the trigger is used. Can also use
{args1} for dynamic ping targets.Example: @Events, @everyone, {args1}Auto-delete the trigger command message after it’s been executed.Default:
falseAuto-delete the bot’s response message after X seconds. Set to
0 for instant deletion.Example: 30 (deletes after 30 seconds) | Default: 0 (no deletion)Prevent the same user from triggering the command too quickly (in seconds). Applied per guild, trigger, and user.Example:
60 (1-minute cooldown) | Default: 0 (no cooldown)Embed Fields
You can add up to 5 custom fields to your embedded messages for structured information display:The title/header of the field.Example:
Session Details, Important InformationThe content/body of the field. Supports all variables and arguments.Example:
Host: {user}\nTime: {args1}\nServer: {args2}Whether the field should be displayed inline with other fields.Default:
falseCustom Messages
Personalize Trigger Messages
- Variables
- Arguments
- Examples
Use these Variables to customize your trigger messages:
| Variable | Description |
|---|---|
{user} | Mentions the user executing the command |
{avatar} | Displays the user’s avatar URL |
{username} | Displays the user’s username |
{server} | Displays the server name |
{channel} | Mentions the current channel |
{&role} | Dynamically mentions a role |
{#channel} | Dynamically mentions a channel |
{everyone} | Mentions @everyone |
{here} | Mentions @here |
Trigger Logic
Execution & Permissions
- Role-Based Access: Only users with the configured Allowed Roles can run the trigger command.
- Channel Targeting: Messages are sent to the defined Channel ID, or the one where the command was used.
- Embed Support: Enable embeds for visually enhanced messages with full customization options.
- Cooldown Protection: Prevent spam by setting per-user cooldowns for each trigger.
Timing Features
- Auto-Delete Trigger: Automatically remove the user’s command message after execution
- Auto-Delete Response: Set a timer to automatically delete the bot’s response (useful for temporary announcements)
- Cooldown System: Prevent the same user from spamming triggers with customizable cooldown periods
Error Handling
- If a trigger has a misconfiguration, Panora will send an error response.
- If role or channel lookups fail, the system retries up to three times before giving up.
- Cooldown violations will show a friendly error message with remaining time.
