diff --git a/pom.xml b/pom.xml index f187b2d..25fe9ef 100644 --- a/pom.xml +++ b/pom.xml @@ -37,7 +37,7 @@ net.dv8tion JDA - 3.1.0_206 + 4.2.1_262 provided diff --git a/src/main/java/me/diax/comportment/jdacommand/Command.java b/src/main/java/me/diax/comportment/jdacommand/Command.java index 02000fc..e1dd09f 100644 --- a/src/main/java/me/diax/comportment/jdacommand/Command.java +++ b/src/main/java/me/diax/comportment/jdacommand/Command.java @@ -16,7 +16,7 @@ package me.diax.comportment.jdacommand; -import net.dv8tion.jda.core.entities.Message; +import net.dv8tion.jda.api.entities.Message; import java.util.Arrays; @@ -70,4 +70,4 @@ default String getAttributeValueFromKey(String key) { default boolean hasAttribute(String key) { return Arrays.stream(getDescription().attributes()).anyMatch(ca -> ca.key().equals(key)); } -} \ No newline at end of file +}