Session Commands
Learn how to create and customize Panora’s Session Command Module.
The Session Commands Module in Panora allows you to manage and track sessions within your Discord server. It enables structured session announcements, role-based access control, and automated formatting for a streamlined experience.
Creating a Session
Open Your Workspace
Visit the Panora Dashboard, log in, and select your workspace. From the sidebar, navigate to the Sessions
tab. See Initial Setup
Create a New Session
Click Create Session and fill in the required details, such as the session name and description.
Configure Session Settings
Customize your session settings, including announcement channels, embed options, and message formatting.
Configuration Breakdown
Configure the following fields to set up your Member Counter:
The name of the session that will be used for command activation.
Example: training
The message template used when announcing the session. Supports placeholders.
Example: Welcome to {server}! The session starts in {channel}.
A list of Role IDs that can execute the session command.
Example: @Executive, @Management
| Default: @everyone
The Discord Channel ID where the session announcement will be posted.
Example: #sessions
| Default: Sends in channel of ran.
Toggle Embeds to enable or disable embedded messages for session announcements.
Default: true
Defines who should be pinged when the session is announced.
Example: @Sessions
Custom Messages
Personalize Session Messages
Use these Variables to customize your session messages:
Variables | 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 |
Session Logic
Execution & Permissions
- Role-Based Access: Only users with the assigned Allowed Roles can execute session commands.
- Channel Targeting: Messages are sent to the configured channel, ensuring proper visibility.
- Embed Customization: If enabled, announcements will use an embed layout for better presentation.
Error Handling
- If a session command is triggered with an invalid configuration, Panora notifies the user with an error message.
- If an issue occurs with fetching roles, channels, or user details, the system retries up to three times before failing gracefully.
Summary
The Session Commands Module in Panora streamlines the process of scheduling and managing sessions within your Discord server. Customize placeholders, control access, and ensure smooth communication for all session-related activities.