Skip to main content

📌 Posting the Panel

The ticket panel is the embed that users interact with to open a ticket. You post it once and it persists until you manually delete it or re-post it.


Post the panel

In any channel your bot can write to, send:

!ticket panel

The bot will:

  1. Post the panel embed in the PANEL_CHANNEL_ID channel you configured
  2. Add numbered reactions (1️⃣, 2️⃣, 3️⃣…) matching your ticket types
  3. Reply with a jump-link to the new panel message
Panel channel vs command channel

The command can be run from any channel — the panel always appears in the PANEL_CHANNEL_ID you set in .env.


Updating the panel

If you change config.json (new ticket types, updated descriptions, etc.) the existing panel embed will not update automatically.

To refresh it:

  1. Manually delete the old panel message in Fluxer
  2. Run !ticket panel again to post a fresh one
note

The bot stores panel message IDs in memory. Restarting the bot resets this store, but the panel itself remains in the channel. Users can still react to it — the bot will just no longer recognise it after a restart unless you re-post.

For persistence across restarts, consider implementing a SQLite or JSON-file backend in store.js.


Channel setup tips

For the best experience, configure the panel channel so that:

Permission@everyoneBot
View Channel
Send Messages
Add Reactions
Read Message History

This prevents users from cluttering the channel with messages while still being able to react to the panel.