Skip to main content

๐Ÿ“… EventsSystem

Description

File: EventsSystem.py

Complete event management system with recurrence, auto-subscriptions, and interactive panels.

Featuresโ€‹

  • Recurrence: Supports Weekly, Monthly, or Custom interval (X days) events.
  • Auto-Registration: Users can subscribe to criteria (Game + Category) to be auto-registered for future events.
  • Reminders: Automated DMs sent X days and X minutes before start.
  • Staff Panel: dedicated interface for managing events, viewing participants, and managing settings.
  • Rich Embeds: Dynamic public panels with filtering capabilities.

Commandsโ€‹

Public Commandsโ€‹

CommandDescription
/event listeList upcoming events.
/event panelDisplay a public interactive panel (optional category filter).
/event autoinscriptionsView active auto-subscriptions.
/event autoinscription_stopStop a specific recurring subscription.
/event auto_criteriaConfigure criteria for auto-registration.

Staff / Admin Commandsโ€‹

CommandDescription
/event crรฉerCreate a new event with detailed options (Recurrence, Roles, Slots).
/event modifierEdit an existing event.
/event supprimerDelete an event.
/event staff_panelSpawns the management dashboard.
/event game_addAdd a game to the list.
/event game_removeRemove a game from the list.
/event categorie_ajouterAdd an event category.
/event categorie_supprimerRemove an event category.

Database Schemaโ€‹

TableDescription
eventsCore event data (title, start_time, recurrence_rule, participants JSON).
remindersUser specific reminder settings.
event_recurrent_autoLink between users and recurring event series.
event_auto_criteriaCriteria-based auto-registration rules.
public_event_panelsUI persistence for public panels.
staff_event_panelUI persistence for staff panels.