How to add reaction to an embed message JDA

前端 未结 2 2037
南笙
南笙 2021-01-28 03:11

I\'m trying to send and embed message when I do the command ~verify and then it sends an embed message and I cant find how to add to there a reaction.

I did already the

2条回答
  •  时光说笑
    2021-01-28 03:40

    I understood how to do it. Just need to add this line

     e.getChannel().sendMessage(embedBuilder.build()).complete().addReaction("✔").queue();
    

提交回复
热议问题