diff --git a/ArtificialAutism/pom.xml b/ArtificialAutism/pom.xml
index da8c9b6e..508c5011 100644
--- a/ArtificialAutism/pom.xml
+++ b/ArtificialAutism/pom.xml
@@ -91,7 +91,7 @@
com.discord4j
discord4j-core
- 3.1.7
+ 3.2.0
org.jetbrains.kotlin
@@ -193,4 +193,4 @@
-
\ No newline at end of file
+
diff --git a/ArtificialAutism/src/main/java/FunctionLayer/DoStuff.java b/ArtificialAutism/src/main/java/FunctionLayer/DoStuff.java
index 611dd23f..5d3ea85f 100644
--- a/ArtificialAutism/src/main/java/FunctionLayer/DoStuff.java
+++ b/ArtificialAutism/src/main/java/FunctionLayer/DoStuff.java
@@ -54,7 +54,7 @@ public class DoStuff {
}
}
if (!channelpermissionsDenied) {
- List blockLast = event.getMessage().getUserMentions().buffer().blockLast();
+ List blockLast = event.getMessage().getUserMentions();
String content = event.getMessage().getContent();
if (blockLast != null) {
for (User user : blockLast) {
diff --git a/ArtificialAutism/src/main/java/PresentationLayer/DiscordHandler.java b/ArtificialAutism/src/main/java/PresentationLayer/DiscordHandler.java
index 4637668d..77eca51d 100644
--- a/ArtificialAutism/src/main/java/PresentationLayer/DiscordHandler.java
+++ b/ArtificialAutism/src/main/java/PresentationLayer/DiscordHandler.java
@@ -107,5 +107,5 @@ public class DiscordHandler {
FunctionLayer.DoStuff.doStuff(event, usernameBot, datahandler, stanfordCoreNLP, stanfordCoreNLPSentiment);
});
gateway.onDisconnect().block();
- } //3.1.1 discord4j version
+ }
}