diff --git a/src/main/java/testplugin/plugin/DiscordMessageEvent.java b/src/main/java/testplugin/plugin/DiscordMessageEvent.java index 988230e..cda0da9 100644 --- a/src/main/java/testplugin/plugin/DiscordMessageEvent.java +++ b/src/main/java/testplugin/plugin/DiscordMessageEvent.java @@ -3,12 +3,9 @@ package testplugin.plugin; import net.dv8tion.jda.api.entities.*; import net.dv8tion.jda.api.events.message.MessageReceivedEvent; import net.dv8tion.jda.api.hooks.ListenerAdapter; -import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.plugin.Plugin; -import java.util.Objects; - public class DiscordMessageEvent extends ListenerAdapter { private Plugin plugin; diff --git a/src/main/java/testplugin/plugin/WebhookEventLogger.java b/src/main/java/testplugin/plugin/WebhookEventLogger.java index 196b1dd..b59a9d1 100644 --- a/src/main/java/testplugin/plugin/WebhookEventLogger.java +++ b/src/main/java/testplugin/plugin/WebhookEventLogger.java @@ -8,7 +8,6 @@ import testplugin.plugin.Commands.setDiscordRelayChannelIdCommand; import testplugin.plugin.Commands.setDiscordTokenCommand; import testplugin.plugin.Commands.setWebhookCommand; -import javax.swing.*; import java.awt.*; import java.io.IOException; import java.util.Arrays; diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 0782fb1..a26329a 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -33,7 +33,6 @@ commands: permission-message: You do not have permission to use this command. usage: / [url] - permissions: webhook.can_set: description: Allows to set webhook/discord bot settings