Jda: New Application API Example

Created on 11 Apr 2016  路  7Comments  路  Source: DV8FromTheWorld/JDA

Hello, I've been using your library for my own project, but with the new Applications migration I'm left wondering how to authenticate my bot now since there is no password. Could you provide a complete example of how to initialize a bot under this new system? Thank you.

Most helpful comment

^ You guys are fast!

All 7 comments

^ You guys are fast!

wtf i was just going to respond with no comments then i switch from a tab and boom

@xunkar @DinosParkour the JDABuilder(botToken) constructor is going away with JDA v2.0.
Please use JDABuilder() and setBotToken(token)

Thanks a lot for the quick answer everyone!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Bungeefan picture Bungeefan  路  6Comments

StijnSimons picture StijnSimons  路  3Comments

AutismSpeaks picture AutismSpeaks  路  4Comments

xeu100 picture xeu100  路  5Comments

liovy picture liovy  路  3Comments