use of io.discloader.discloader.network.json.GuildJSON in project DiscLoader by R3alCl0ud.
the class ModifyGuild method complete.
public void complete(String r, Throwable ex) {
if (ex != null) {
future.completeExceptionally(ex);
return;
}
GuildJSON data = gson.fromJson(r, GuildJSON.class);
guild.setup(data);
future.complete(guild);
}
Aggregations