diff --git a/src/main/java/xyz/vallat/louis/commands/Command.java b/src/main/java/xyz/vallat/louis/commands/Command.java index f99088d..f1c8a6c 100644 --- a/src/main/java/xyz/vallat/louis/commands/Command.java +++ b/src/main/java/xyz/vallat/louis/commands/Command.java @@ -24,7 +24,7 @@ import java.util.stream.Stream; public abstract class Command { protected static final ReactionEmoji WAITING = ReactionEmoji.unicode("⌛"); - private static final Logger logger = LoggerFactory.getLogger(ListLangMovie.class.getCanonicalName()); + private static final Logger logger = LoggerFactory.getLogger(ListLang.class.getCanonicalName()); protected final String name; protected final String description; protected final String usage; diff --git a/src/main/java/xyz/vallat/louis/commands/ListLangMovie.java b/src/main/java/xyz/vallat/louis/commands/ListLang.java similarity index 95% rename from src/main/java/xyz/vallat/louis/commands/ListLangMovie.java rename to src/main/java/xyz/vallat/louis/commands/ListLang.java index 1d96077..e97ed21 100644 --- a/src/main/java/xyz/vallat/louis/commands/ListLangMovie.java +++ b/src/main/java/xyz/vallat/louis/commands/ListLang.java @@ -11,11 +11,11 @@ import xyz.vallat.louis.subtitles.exceptions.UnauthorizedException; import java.time.Instant; import java.util.List; -public class ListLangMovie extends Command { +public class ListLang extends Command { - private static final Logger logger = LoggerFactory.getLogger(ListLangMovie.class.getCanonicalName()); + private static final Logger logger = LoggerFactory.getLogger(ListLang.class.getCanonicalName()); - public ListLangMovie(String name) { + public ListLang(String name) { super(name, "List all languages attached to a movie title or an IMDB Identifier.", name + " imdb|title value", 2, 2); } diff --git a/src/main/java/xyz/vallat/louis/discord/DiscordManager.java b/src/main/java/xyz/vallat/louis/discord/DiscordManager.java index d7c8bcc..908bd71 100644 --- a/src/main/java/xyz/vallat/louis/discord/DiscordManager.java +++ b/src/main/java/xyz/vallat/louis/discord/DiscordManager.java @@ -24,7 +24,7 @@ public final class DiscordManager { private static GatewayDiscordClient discordClient; static { - commands.add(new ListLangMovie(PREFIX + "listLangMovie")); + commands.add(new ListLang(PREFIX + "listLangMovie")); commands.add(new Download(PREFIX + "download")); commands.add(new Quote(PREFIX + "quote")); commands.add(new Ping(PREFIX + "ping"));