Discord bot not coming online


#1

Hello guys, I am currently having issues with getting the bot to go online on my discord server… I have made sure that I have done everything correctly multiple times but still no luck :confused:

I wasn’t sure how I was to add the “discord_token=YOUR_TOKEN” part so I just added it to the end of the botlogin.txt file with a space in between the other.

I also reset the token code to make sure that it wasn’t for some reason bugged or something, I would appreciate any help, thanks in advanced.


#2

Hey,

Discord is slower dropping support for their old APIs, we will be releasing a new version some time this week to fix this. For now, please download the nightly build. As for your Discord token, make sure you have it on a new line so it matches all of the settings in that file.


#3

Having the same issue even with nightly builds aswell: [ERROR] [connect()@DiscordAPI.java:83] Failed to authenticate with Discord:

[DiscordException] Exception (DiscordException) occurred while logging in: Error on request to https://discordapp.com/api/v6/users/@me. Received response code 401. With response text: {“code”: 0, “message”: “401: Unauthorized”}


#4

Have you updated to 2.3.9?

A 401 error typically means you’re not providing the correct details for Discord.


#5

running the latest version. I tried giving it a new secret key aswell.

followed this guide:


The file:
proof


#6

I wonder if the permissions didn’t take. When you generated the token you used:

https://discordapp.com/oauth2/authorize?&scope=bot&permissions=8&client_id=YOUR_CLIENT_ID_HERE

In particular the permissions=8 setting? Then authorized for your Discord channel?


#7

You need to use the token, not client secret.


#8

facepalms Thanks :smiley: Doing these kind of things with no sleep for the past 24 hours isn’t a good thing I guess.


#9

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.