Closed jakebreen closed 3 years ago
JDA3 has been deprecated for over a year, you need to update to the latest version.
I'm aware of that however the latest version will not support client accounts. What is the last stable version where client accounts are usable?
There is none, discord made breaking changes and you'll get bugs like the one you're experiencing. Just don't self bot.
I'm aware of that however the latest version will not support client accounts.
For obvious reasons. Automated client accounts are not allowed by the Discord Developer ToS and JDA has removed support since they no longer work anyway.
Also, please read the readme the next time as it clearly states JDAs current position about automated clients:
UserBots and SelfBots
Discord is currently prohibiting creation and usage of automated client accounts (AccountType.CLIENT). We have officially dropped support for client login as of version 4.2.0! Note that JDA is not a good tool to build a custom discord client as it loads all servers/guilds on startup unlike a client which does this via lazy loading instead. If you need a bot, use a bot account from the Application Dashboard.
I'm using version 3.8.3_464
The only message events I can get are private messages, there are no messages being received from any of the channels of the single discord server I am in. The code:
Setup JDA instance.
class MessageListener: ListenerAdapter() {
}
the only logs i get are at startup: