Add Button Emoji
This commit is contained in:
1 parent
31f6b9e08e
commit
acf165a119
1 file changed
+2
-1
+2
-1
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user