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 f6252f3 commit 8a7ac88
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 8a7ac88

Please sign in to comment.