title: JDA reaction event listener java
body: <p>I'm trying to create an event listener for reactions on discord messages for a java discord bot. I haven't found any docs relating to this and my attempts have been futile, the idea is that users who react to the message are subscribed to a mailing list.</p>
  
  <pre><code>public class accept extends ListenerAdapter {
      public void onreactionAdded(MessageReactionAddEvent event) {
  
          MessageReaction reaction = event.getReaction();
          ReactionEmote emote = reaction.getReactionEmote();
          MessageChannel channel = event.getChannel();
          System.out.println("test");
          channel.sendMessage("Commands:\n !notify - notifies users who have subscribed to mailing list").queue();
      }
  }
  </code></pre>