Крестик не видно

This commit is contained in:
JonnyBro 2022-09-02 19:37:25 +05:00
parent 423dfff340
commit 07bb447da0

View file

@ -105,53 +105,53 @@ class Play extends BaseCommand {
.addComponents( .addComponents(
new ButtonBuilder() new ButtonBuilder()
.setCustomId("1") .setCustomId("1")
.setStyle(ButtonStyle.Primary) .setStyle(ButtonStyle.Secondary)
.setEmoji("1⃣"), .setEmoji("1⃣"),
new ButtonBuilder() new ButtonBuilder()
.setCustomId("2") .setCustomId("2")
.setStyle(ButtonStyle.Primary) .setStyle(ButtonStyle.Secondary)
.setEmoji("2⃣"), .setEmoji("2⃣"),
new ButtonBuilder() new ButtonBuilder()
.setCustomId("3") .setCustomId("3")
.setStyle(ButtonStyle.Primary) .setStyle(ButtonStyle.Secondary)
.setEmoji("3⃣"), .setEmoji("3⃣"),
new ButtonBuilder() new ButtonBuilder()
.setCustomId("4") .setCustomId("4")
.setStyle(ButtonStyle.Primary) .setStyle(ButtonStyle.Secondary)
.setEmoji("4⃣"), .setEmoji("4⃣"),
new ButtonBuilder() new ButtonBuilder()
.setCustomId("5") .setCustomId("5")
.setStyle(ButtonStyle.Primary) .setStyle(ButtonStyle.Secondary)
.setEmoji("5⃣"), .setEmoji("5⃣"),
); );
const row2 = new ActionRowBuilder() const row2 = new ActionRowBuilder()
.addComponents( .addComponents(
new ButtonBuilder() new ButtonBuilder()
.setCustomId("6") .setCustomId("6")
.setStyle(ButtonStyle.Primary) .setStyle(ButtonStyle.Secondary)
.setEmoji("6⃣"), .setEmoji("6⃣"),
new ButtonBuilder() new ButtonBuilder()
.setCustomId("7") .setCustomId("7")
.setStyle(ButtonStyle.Primary) .setStyle(ButtonStyle.Secondary)
.setEmoji("7⃣"), .setEmoji("7⃣"),
new ButtonBuilder() new ButtonBuilder()
.setCustomId("8") .setCustomId("8")
.setStyle(ButtonStyle.Primary) .setStyle(ButtonStyle.Secondary)
.setEmoji("8⃣"), .setEmoji("8⃣"),
new ButtonBuilder() new ButtonBuilder()
.setCustomId("9") .setCustomId("9")
.setStyle(ButtonStyle.Primary) .setStyle(ButtonStyle.Secondary)
.setEmoji("9⃣"), .setEmoji("9⃣"),
new ButtonBuilder() new ButtonBuilder()
.setCustomId("10") .setCustomId("10")
.setStyle(ButtonStyle.Primary) .setStyle(ButtonStyle.Secondary)
.setEmoji("🔟"), .setEmoji("🔟"),
); );
const row3 = new ActionRowBuilder() const row3 = new ActionRowBuilder()
.addComponents( .addComponents(
new ButtonBuilder() new ButtonBuilder()
.setCustomId("search_cancel") .setCustomId("search_cancel")
.setStyle(ButtonStyle.Danger) .setStyle(ButtonStyle.Primary)
.setEmoji("❌"), .setEmoji("❌"),
); );
const rows = [row1, row2, row3]; const rows = [row1, row2, row3];