$addButton

adds a button component an existing message,use $button to send a message with a button


Example

(Add a simple button) (Add in new row) (Add disabled)

Bug

Currently the emoji field is not working.

Available colors

red, green, blurple, grey, url
/* url buttons is grey by default */
  • you can use normal unicode emoji,custom emojis,with id,url or $customEmoji[emojiname]
Function difficulty: Easy
Tags: button add interaction create