From e9d71cd95ed5fa73176a27bd9c01cf542ed8f2ef Mon Sep 17 00:00:00 2001 From: Geik Date: Wed, 19 May 2021 13:03:48 +0300 Subject: [PATCH 1/2] Update Command.java --- src/main/java/me/diax/comportment/jdacommand/Command.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +} From 4ea756b9760f469c67ae9a90f0526af6ff0300a5 Mon Sep 17 00:00:00 2001 From: Geik Date: Wed, 19 May 2021 13:18:18 +0300 Subject: [PATCH 2/2] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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