Renamed listLangMovie to just listLang
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
parent
4214bcc8a4
commit
9a389f5dd3
@ -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;
|
||||
|
@ -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);
|
||||
}
|
@ -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"));
|
||||
|
Loading…
Reference in New Issue
Block a user