Closed Squidkingdom closed 6 years ago
There may be another way for this but from what I can tell you cannot get the ApplicationManager from the Bot itself, it has to be from a Client.
api.asClient().getApplicationById("").complete().getManager().setName("name");
Also please note: The github issue tracker is reserved for feature requests and bug reports. Go to discord.gg/0hMr4ce0tIl3SLv5 (JDA Discord) to receive the needed help.
how do I get the Id?
For the Application? Should be the bot ID (Unless it's a really old one but that's unlikely). Again though, use the Discord not here ;)
Yep! Already joined
I keep trying to call
Application.getManager().setName("");
but I get a static reference error. I'm not very familiar with the LIB and I can't get it answered anywhere else. Thanks, Squid