updated discord4j version

This commit is contained in:
christian
2021-12-02 22:00:41 +01:00
parent 30bf0d059f
commit 8eacf7da71
3 changed files with 4 additions and 4 deletions
@@ -54,7 +54,7 @@ public class DoStuff {
}
}
if (!channelpermissionsDenied) {
List<User> blockLast = event.getMessage().getUserMentions().buffer().blockLast();
List<User> blockLast = event.getMessage().getUserMentions();
String content = event.getMessage().getContent();
if (blockLast != null) {
for (User user : blockLast) {
@@ -107,5 +107,5 @@ public class DiscordHandler {
FunctionLayer.DoStuff.doStuff(event, usernameBot, datahandler, stanfordCoreNLP, stanfordCoreNLPSentiment);
});
gateway.onDisconnect().block();
} //3.1.1 discord4j version
}
}