From ebb674517920336cd602cf71200b7c93305c0e49 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 28 Mar 2022 13:24:34 -0700 Subject: [PATCH] Import Cleanup --- src/main/java/moe/oko/Kiafumi/Kiafumi.java | 6 +----- src/main/java/moe/oko/Kiafumi/command/CommandClass.java | 1 - src/main/java/moe/oko/Kiafumi/command/DuckCommand.java | 2 +- src/main/java/moe/oko/Kiafumi/command/PingCommand.java | 3 +-- src/main/java/moe/oko/Kiafumi/listener/MainListener.java | 2 +- 5 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/main/java/moe/oko/Kiafumi/Kiafumi.java b/src/main/java/moe/oko/Kiafumi/Kiafumi.java index 1a6e8ee..0e362db 100644 --- a/src/main/java/moe/oko/Kiafumi/Kiafumi.java +++ b/src/main/java/moe/oko/Kiafumi/Kiafumi.java @@ -14,25 +14,21 @@ import net.dv8tion.jda.api.JDABuilder; import net.dv8tion.jda.api.OnlineStatus; import net.dv8tion.jda.api.entities.Activity; import net.dv8tion.jda.api.entities.Guild; -import net.dv8tion.jda.api.interactions.commands.Command; import net.dv8tion.jda.api.requests.GatewayIntent; import net.dv8tion.jda.api.requests.restaction.CommandCreateAction; import net.dv8tion.jda.api.utils.ChunkingFilter; import net.dv8tion.jda.api.utils.MemberCachePolicy; import net.dv8tion.jda.api.utils.cache.CacheFlag; import org.simpleyaml.configuration.file.YamlConfiguration; -import org.simpleyaml.exceptions.InvalidConfigurationException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import java.awt.*; +import java.awt.Color; import java.io.File; import java.io.FileNotFoundException; -import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.time.ZonedDateTime; -import java.time.temporal.TemporalAccessor; import java.util.ArrayList; import java.util.List; diff --git a/src/main/java/moe/oko/Kiafumi/command/CommandClass.java b/src/main/java/moe/oko/Kiafumi/command/CommandClass.java index 4258607..4b3cc51 100644 --- a/src/main/java/moe/oko/Kiafumi/command/CommandClass.java +++ b/src/main/java/moe/oko/Kiafumi/command/CommandClass.java @@ -6,7 +6,6 @@ import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEve import net.dv8tion.jda.api.events.message.MessageReceivedEvent; import net.dv8tion.jda.api.hooks.ListenerAdapter; -import java.util.HashMap; import java.util.List; public abstract class CommandClass extends ListenerAdapter { diff --git a/src/main/java/moe/oko/Kiafumi/command/DuckCommand.java b/src/main/java/moe/oko/Kiafumi/command/DuckCommand.java index 397b83d..d0f80b2 100644 --- a/src/main/java/moe/oko/Kiafumi/command/DuckCommand.java +++ b/src/main/java/moe/oko/Kiafumi/command/DuckCommand.java @@ -8,7 +8,7 @@ import net.dv8tion.jda.api.interactions.commands.OptionType; import org.bitnick.net.duckduckgo.WebSearch; import org.bitnick.net.duckduckgo.entity.SearchResult; -import java.awt.*; +import java.awt.Color; import java.time.ZonedDateTime; import java.util.ArrayList; import java.util.List; diff --git a/src/main/java/moe/oko/Kiafumi/command/PingCommand.java b/src/main/java/moe/oko/Kiafumi/command/PingCommand.java index 7ff251b..33d4e18 100644 --- a/src/main/java/moe/oko/Kiafumi/command/PingCommand.java +++ b/src/main/java/moe/oko/Kiafumi/command/PingCommand.java @@ -6,8 +6,7 @@ import net.dv8tion.jda.api.EmbedBuilder; import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent; import net.dv8tion.jda.api.events.message.MessageReceivedEvent; -import java.awt.*; -import java.time.temporal.TemporalField; +import java.awt.Color; import java.util.*; import java.util.List; diff --git a/src/main/java/moe/oko/Kiafumi/listener/MainListener.java b/src/main/java/moe/oko/Kiafumi/listener/MainListener.java index 67cbcea..e1f04aa 100644 --- a/src/main/java/moe/oko/Kiafumi/listener/MainListener.java +++ b/src/main/java/moe/oko/Kiafumi/listener/MainListener.java @@ -15,7 +15,7 @@ import net.dv8tion.jda.api.events.user.update.GenericUserPresenceEvent; import net.dv8tion.jda.api.hooks.ListenerAdapter; import org.jetbrains.annotations.NotNull; -import java.awt.*; +import java.awt.Color; import java.time.OffsetDateTime; import java.time.ZonedDateTime; import java.time.format.DateTimeFormatter;