Discord Auth for the Bot


#1

I’ve been following this guide:

Then i’m stuck at the last step

[09-22-2017 @ 16:37:29.400 GMT] The working directory is: C:\Users\Guilherme\Downloads\PhantomBot-2.3.8\PhantomBot-2.3.8
[09-22-2017 @ 16:37:29.404 GMT] Detected Java 1.8.0_144 running on Windows 10 10.0 (amd64)
[09-22-2017 @ 16:37:29.406 GMT]
[09-22-2017 @ 16:37:29.407 GMT] PhantomBot Version: 2.3.8
[09-22-2017 @ 16:37:29.407 GMT] Build Revision: ${repository.version}
[09-22-2017 @ 16:37:29.407 GMT] Creator: mast3rplan
[09-22-2017 @ 16:37:29.407 GMT] Developers: PhantomIndex, Kojitsari, ScaniaTV, Zelakto & IllusionaryOne
[09-22-2017 @ 16:37:29.407 GMT] https://phantombot.tv/
[09-22-2017 @ 16:37:29.407 GMT]
[09-22-2017 @ 16:37:30.037 GMT] YouTubeSocketServer accepting connections on port: 25003
[09-22-2017 @ 16:37:30.039 GMT] PanelSocketServer accepting connections on port: 25004
[09-22-2017 @ 16:37:30.049 GMT] HTTP server accepting connection on port: 25000
[09-22-2017 @ 16:37:30.972 GMT] [ERROR] [connect()@DiscordAPI.java:119] Discord authentication failed: The provided token is invalid!

Already added the discord_token=YOUR_TOKEN in the botlogin.txt file


#2

Hello,

Are you sure you created a bot user, as well as copied the bot token, not the client ID or the secret secret? Make sure the line is formatted correctly, and there are no accidental spaces you may of added while copying. If not, report back here.

Thanks!
Zack


#3

Thanks for the quick reply, it was my mistake
i was trying to use the client id instead of the token

it’s working now, thanks a lot!


#4

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