Add new features for giveaways, tickets, self-roles, tags, starboard, suggestions, and birthdays

- Integrated new command modules for managing giveaways, tickets, self-roles, tags, starboard, suggestions, and birthdays, enhancing the bot's capabilities.
- Implemented job handling for giveaway endings, ticket management, and birthday role expirations, improving automation and user experience.
- Updated command definitions and interaction handling to support new features, ensuring smooth user interactions.
- Enhanced the job processing system with dedicated workers for managing various tasks, including auto-closing tickets and running birthday checks.
- Documented the new features and their setup processes in PHASE-TRACKING.md for clarity on implementation steps.
This commit is contained in:
smueller
2026-07-22 13:21:28 +02:00
parent 1ceb8c3574
commit 52b10c9536
11 changed files with 271 additions and 90 deletions

View File

@@ -41,10 +41,9 @@ const ticketCommand: SlashCommand = {
return;
}
const group = interaction.options.getSubcommandGroup(false);
const sub = interaction.options.getSubcommand(false);
const sub = interaction.options.getSubcommand(true);
if (group === 'panel' && sub === 'create') {
if (sub === 'panel_create') {
if (!(await ensureManageGuild(interaction, locale))) {
return;
}
@@ -75,7 +74,7 @@ const ticketCommand: SlashCommand = {
return;
}
if (group === 'category' && sub === 'create') {
if (sub === 'category_create') {
if (!(await ensureManageGuild(interaction, locale))) {
return;
}