Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Private Bot is Offline #336

Closed
PatchAlchemist opened this issue Feb 14, 2023 · 4 comments
Closed

Private Bot is Offline #336

PatchAlchemist opened this issue Feb 14, 2023 · 4 comments

Comments

@PatchAlchemist
Copy link

I followed every step in the readme and have my bot successfully running in the terminal "All starters done".

The bot has been invited to my server but it's still offline and unresponsive.

Is there a step missing in the readme? I assumed that finishing all of step 6 would've resulted in the bot coming online

@PatchAlchemist
Copy link
Author

So I found where the ERROR was occurring after looking at this thread: #136 (comment)

Every line works for me except for JDA - Finished Loading!
Instead of that I get this error:

[1;31mERROR←[0;39m 2023-02-14 13:14:22,886 [←[34mJDA [0 / 1] MainWS-WriteThread←[0;39m] ←[33mnet.dv8tion.jda.internal.requests.WebSocketClient←[0;39m: WebSocket connection was closed and cannot be recovered due to identification issues
CloseCode(4014 / Disallowed intents. Your bot might not be eligible to request a privileged intent such as GUILD_PRESENCES, MESSAGE_CONTENT, or GUILD_MEMBERS.)

@PatchAlchemist
Copy link
Author

I don't fully understand URI callbacks and I'm assuming it has something to do with that, but I set my Spotify app and Discord app's URI callbacks to my public IP and portforwarded to my PC, and tried reformatting the domain a bunch of times (no end slash, with an end slash, port specified, no port specified)

I really don't know what I'm doing wrong

@robinfriedli
Copy link
Owner

Looks like you have text commands enabled (aiode.preferences.enable_message_content) but your bot user is not opted into the message content intent. Make sure its enabled on your discord developer dashboard. This is usually not an issue for self-hosters because privileged gateway intents can always be enabled as long as the bot user is in 100 servers or fewer.

@PatchAlchemist
Copy link
Author

That worked! Thanks alot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants