Skip to content

Dynamic bot status displaying live ticket statistics #590

Description

@Sayrix

Is your feature request related to a problem? Please describe.
The bot currently uses a static status message, which does not reflect live ticket activity or project state. In the current config, the status only supports a single text value, so it cannot rotate through multiple messages or display live statistics.

Describe the solution you'd like
Add support for a dynamic bot status message that updates periodically with live ticket statistics and other project data.

The status should be able to use placeholders or templates, such as:

  • {totalCount} for total tickets ever created
  • {openCount} for currently open tickets
  • {claimedCount} for tickets claimed by staff
  • {resolvedCount} for tickets closed today or this week
  • {staffCount} for support team members online
  • {guildCount} for servers using Ticket-Bot

I'd also like the status config to support rotating messages, not just a single status string. For example, the config could accept:

  • a single text value for a static status
  • an array of text values for rotating statuses
  • an interval or similar setting to control how often the status rotates

Examples of rotating status messages:

  • 📩 {openCount} tickets open | Use /ticket to contact support
  • 🎟️ {totalCount} tickets handled
  • ✅ {resolvedCount} tickets closed today
  • 👨‍💻 {staffCount} support team available
  • ⭐ {guildCount} servers using Ticket-Bot

This should update on a timer similar to the current setStatus interval, for example every 15 minutes.

Describe alternatives you've considered

  • Keeping a single static status message
  • Manually changing the bot status when ticket volume changes
  • Using a fixed list of status messages without live data placeholders

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions