diff --git a/.idea/artifacts/doki_jar.xml b/.idea/artifacts/doki_jar.xml index 73badc6..b4fd852 100644 --- a/.idea/artifacts/doki_jar.xml +++ b/.idea/artifacts/doki_jar.xml @@ -3,49 +3,46 @@ $PROJECT_DIR$/out/artifacts/doki_jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index c3fd90f..583c1f1 100644 --- a/pom.xml +++ b/pom.xml @@ -66,11 +66,5 @@ protobuf-java 4.28.2 - - org.slf4j - slf4j-reload4j - 2.1.0-alpha1 - compile - \ No newline at end of file diff --git a/src/main/java/net/hypr/doki/commands/moderation/Warn.java b/src/main/java/net/hypr/doki/commands/moderation/Warn.java index 39b9b67..4062c51 100644 --- a/src/main/java/net/hypr/doki/commands/moderation/Warn.java +++ b/src/main/java/net/hypr/doki/commands/moderation/Warn.java @@ -1,5 +1,6 @@ package net.hypr.doki.commands.moderation; +import com.freya02.botcommands.api.annotations.BotPermissions; import com.freya02.botcommands.api.annotations.CommandMarker; import com.freya02.botcommands.api.annotations.UserPermissions; import com.freya02.botcommands.api.application.ApplicationCommand; @@ -32,6 +33,7 @@ public class Warn extends ApplicationCommand { .setDescription(String.format("**Reason:** %s", reason)) .setFooter(String.format("Warned by %s (%s)", actingMod.getEffectiveName(), actingMod.getId()), actingMod.getEffectiveAvatarUrl()) .setColor(new Color(239, 148, 60)); + log.debug(String.format("%s", Doki.getConfig().getWarningChannel())); TextChannel warningChannel = Doki.getJDA().getTextChannelById(Doki.getConfig().getWarningChannel()); member.getUser().openPrivateChannel().queue( (dm) -> dm.sendMessageEmbeds(warnEmbed.build()).queue(