JDA: JDA repeading every action endlessly
When i try to execue a command (such as send direct message ONE time), it will send 8 messages. This issue began in 3.2.0_XXX and is still a thing. It’s very annoying, since i have to use outdated versions (3.1.0_XXX)
Code i use for sending direct messages is:
PrivateChannel dm = targetUser.openPrivateChannel().complete();
dm.sendMessage("Message content").queue();
dm.close();
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 18 (10 by maintainers)
I really don’t think this is a JDA problem. A common mistake is that your bot listens to it’s own message or that you just have multiple instances of your bot running.
or the event listener added multiple times