Closed xunkar closed 8 years ago
You can use JDABuilder(botToken) or JDABuilder#setBotToken.
Here's how my bot handles it: https://github.com/Frederikam/FredBoat/blob/master/src/main/java/fredboat/FredBoat.java#L89
^ 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!
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.