cleanup
This commit is contained in:
parent
de3305b617
commit
5f9b792b50
@ -3,12 +3,9 @@ package testplugin.plugin;
|
|||||||
import net.dv8tion.jda.api.entities.*;
|
import net.dv8tion.jda.api.entities.*;
|
||||||
import net.dv8tion.jda.api.events.message.MessageReceivedEvent;
|
import net.dv8tion.jda.api.events.message.MessageReceivedEvent;
|
||||||
import net.dv8tion.jda.api.hooks.ListenerAdapter;
|
import net.dv8tion.jda.api.hooks.ListenerAdapter;
|
||||||
import org.bukkit.Bukkit;
|
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.plugin.Plugin;
|
import org.bukkit.plugin.Plugin;
|
||||||
|
|
||||||
import java.util.Objects;
|
|
||||||
|
|
||||||
public class DiscordMessageEvent extends ListenerAdapter {
|
public class DiscordMessageEvent extends ListenerAdapter {
|
||||||
|
|
||||||
private Plugin plugin;
|
private Plugin plugin;
|
||||||
|
@ -8,7 +8,6 @@ import testplugin.plugin.Commands.setDiscordRelayChannelIdCommand;
|
|||||||
import testplugin.plugin.Commands.setDiscordTokenCommand;
|
import testplugin.plugin.Commands.setDiscordTokenCommand;
|
||||||
import testplugin.plugin.Commands.setWebhookCommand;
|
import testplugin.plugin.Commands.setWebhookCommand;
|
||||||
|
|
||||||
import javax.swing.*;
|
|
||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
@ -33,7 +33,6 @@ commands:
|
|||||||
permission-message: You do not have permission to use this command.
|
permission-message: You do not have permission to use this command.
|
||||||
|
|
||||||
usage: /<command> [url]
|
usage: /<command> [url]
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
webhook.can_set:
|
webhook.can_set:
|
||||||
description: Allows to set webhook/discord bot settings
|
description: Allows to set webhook/discord bot settings
|
||||||
|
Loading…
Reference in New Issue
Block a user