Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
470 views
in Technique[技术] by (71.8m points)

java - JDA message.getReactions.size always returns 0

Emote Giveaway = Rmessage.getGuild().getEmoteById("794316713524461609");
            Rmessage.addReaction(Giveaway).queue();   
            System.out.println(Rmessage.getReactions().size());

This code is part of a giveaway Command and I need the people that reacted to the emoji. But it cant get the people that reacted to the emote because It doesnt register the emote. Y tho?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...