Skip to content

Commit

Permalink
🐛 Fix: System data not apply
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashu11-A committed Jun 16, 2024
1 parent 0c2d75e commit e202c23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ new Component({
.setProperties(templateData.properties)
.setSelects(templateData.selects)
.setType(templateData.type)
.setSystem(templateData.systems)
.render()

await interaction.message?.edit({ components })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit e202c23

Please sign in to comment.