Add Button Emoji

This commit is contained in:
Noah committed 2021-11-10 21:18:49 -06:00
1 parent 31f6b9e08e
commit acf165a119
1 file changed
+2 -1
+2 -1
View File
@@ -104,7 +104,8 @@ module.exports = new Event("ready", (client) => {
let button = new Discord.MessageButton() let button = new Discord.MessageButton()
.setLabel(panelconfig.ButtonLabel) .setLabel(panelconfig.ButtonLabel)
.setCustomId("openticket") .setCustomId("openticket")
.setStyle(panelconfig.ButtonColour); .setStyle(panelconfig.ButtonColour)
.setEmoji(panelconfig.ButtonEmoji);
let row = new Discord.MessageActionRow().addComponents(button); let row = new Discord.MessageActionRow().addComponents(button);