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

1

Open Your Workspace

Visit the Panora Dashboard, log in, and select your workspace. From the sidebar, navigate to the Sessions tab. See Initial Setup

2

Create a New Session

Click Create Session and fill in the required details, such as the session name and description.

3

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:

Session Name
string
required

The name of the session that will be used for command activation.

Example: training

Description
string
required

The message template used when announcing the session. Supports placeholders.

Example: Welcome to {server}! The session starts in {channel}.

Allowed Roles
array

A list of Role IDs that can execute the session command.

Example: @Executive, @Management | Default: @everyone

Channel ID
number

The Discord Channel ID where the session announcement will be posted.

Example: #sessions | Default: Sends in channel of ran.

Embed
boolean
required

Toggle Embeds to enable or disable embedded messages for session announcements.

Default: true

Ping
string

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:


VariablesDescription
{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.