Skip to content

Commit

Permalink
updated bot.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
GhomKrosmonaute committed Oct 23, 2024
1 parent 26532bf commit a91a23f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/app/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ export function createButton<Params extends ButtonParams>(
const button = new discord.ButtonBuilder()
.setCustomId(encodeButtonCustomId(handler.options.key, ...params))
.setStyle(discord.ButtonStyle.Primary)
.setLabel(handler.options.key)

handler.options.builder?.(button, ...params)

Expand Down

0 comments on commit a91a23f

Please sign in to comment.