Renamed listLangMovie to just listLang

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2020-11-04 11:09:32 +01:00
parent 4214bcc8a4
commit 9a389f5dd3
3 changed files with 5 additions and 5 deletions

View File

@ -24,7 +24,7 @@ import java.util.stream.Stream;
public abstract class Command { public abstract class Command {
protected static final ReactionEmoji WAITING = ReactionEmoji.unicode(""); 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 name;
protected final String description; protected final String description;
protected final String usage; protected final String usage;

View File

@ -11,11 +11,11 @@ import xyz.vallat.louis.subtitles.exceptions.UnauthorizedException;
import java.time.Instant; import java.time.Instant;
import java.util.List; 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.", super(name, "List all languages attached to a movie title or an IMDB Identifier.",
name + " imdb|title value", 2, 2); name + " imdb|title value", 2, 2);
} }

View File

@ -24,7 +24,7 @@ public final class DiscordManager {
private static GatewayDiscordClient discordClient; private static GatewayDiscordClient discordClient;
static { static {
commands.add(new ListLangMovie(PREFIX + "listLangMovie")); commands.add(new ListLang(PREFIX + "listLangMovie"));
commands.add(new Download(PREFIX + "download")); commands.add(new Download(PREFIX + "download"));
commands.add(new Quote(PREFIX + "quote")); commands.add(new Quote(PREFIX + "quote"));
commands.add(new Ping(PREFIX + "ping")); commands.add(new Ping(PREFIX + "ping"));