diff --git a/plugins/tickets/src/discord/components/Template/AddSelectActions.ts b/plugins/tickets/src/discord/components/Template/AddSelectActions.ts index 408aab39..30032db1 100644 --- a/plugins/tickets/src/discord/components/Template/AddSelectActions.ts +++ b/plugins/tickets/src/discord/components/Template/AddSelectActions.ts @@ -88,6 +88,7 @@ new Component({ .setProperties(templateData.properties) .setSelects(templateData.selects) .setType(templateData.type) + .setSystem(templateData.systems) .render() await interaction.message?.edit({ components }) diff --git a/plugins/tickets/src/discord/components/Template/ButtonsSetType.ts b/plugins/tickets/src/discord/components/Template/ButtonsSetType.ts index 19640436..50051893 100644 --- a/plugins/tickets/src/discord/components/Template/ButtonsSetType.ts +++ b/plugins/tickets/src/discord/components/Template/ButtonsSetType.ts @@ -29,11 +29,14 @@ for (const [action, type] of Object.entries(actions)) { }).setColor('Green')] }) + setTimeout(() => interaction.deleteReply(), 5000) + const buttonBuilder = new TemplateButtonBuilder() const components = buttonBuilder .setMode('debug') .setProperties(templateData.properties) .setSelects(templateData.selects) + .setSystem(templateData.systems) .setType(type) .render()