Shimmermare / InviteRoles

A Discord bot to automatically give roles to users who joined through specific invite.
MIT License
18 stars 9 forks source link

Version 1.0.1 is not working anymore due to Discord API updates #15

Open robhrt7 opened 3 years ago

robhrt7 commented 3 years ago

Just FIY for those who try running 1.0.1 - the bot in this version does not receive events due to discord API changes.

See this section of JDA for details https://github.com/DV8FromTheWorld/JDA/wiki/19%29-Troubleshooting#my-event-listener-code-is-not-executed

It seems that I've managed to get it work (at least it receives the events) but we're yet to test it better. Only reason I'm using 1.0.1 is because it works in Docker and is latest stable. For those who want to patch 1.0.1 manually, check commits in my fork https://github.com/DV8FromTheWorld/JDA/wiki/19%29-Troubleshooting#my-event-listener-code-is-not-executed

Disclaimer - I'm not a Java dev, this is my first attempt tweaking Java project and first try with Discord bots.