no more random numbers by names and no more repetitive data, good and end now i guess
This commit is contained in:
@@ -48,10 +48,9 @@ public class DiscordHandler {
|
||||
Datahandler.instance.updateStringCache();
|
||||
String token = "NTI5NzAxNTk5NjAyMjc4NDAx.Dw0vDg.7-aMjVWdQMYPl8qVNyvTCPS5F_A";
|
||||
DiscordApi api = new DiscordApiBuilder().setToken(token).login().join();
|
||||
DoStuff dostuff = new DoStuff();
|
||||
api.addMessageCreateListener(event -> {
|
||||
if (!dostuff.isOccupied()) {
|
||||
dostuff.doStuff(event, api);
|
||||
if (!FunctionLayer.DoStuff.isOccupied()) {
|
||||
FunctionLayer.DoStuff.doStuff(event, api);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user