added the caches earlier into the flow so that the new threads would not run into errors
This commit is contained in:
parent
9567db391f
commit
6006f50bcb
@ -98,6 +98,8 @@ public class DiscordHandler extends ListenerAdapter {
|
||||
|
||||
System.out.println("FINISHED ALL ANNOTATIONS");
|
||||
System.out.println("updatedstring cache");
|
||||
String strF = datahandler.trimString("abcdef");
|
||||
datahandler.getResponseFutures(strF, stanfordCoreNLP, stanfordCoreNLPSentiment);
|
||||
String token = new settings().getDiscordToken();
|
||||
JDABuilder.createLight(token, GatewayIntent.GUILD_MESSAGES, GatewayIntent.DIRECT_MESSAGES)
|
||||
.addEventListeners(new DiscordHandler())
|
||||
|
Loading…
Reference in New Issue
Block a user