Add configurable aliases for all commands

This commit is contained in:
MichailiK
2019-10-25 17:51:56 +02:00
parent 11c9b00510
commit 7192d55732
35 changed files with 136 additions and 16 deletions

View File

@@ -18,6 +18,7 @@ package com.jagrosh.jmusicbot.commands.admin;
import java.util.List;
import com.jagrosh.jdautilities.command.CommandEvent;
import com.jagrosh.jdautilities.commons.utils.FinderUtil;
import com.jagrosh.jmusicbot.JMusicBot;
import com.jagrosh.jmusicbot.commands.AdminCommand;
import com.jagrosh.jmusicbot.settings.Settings;
import com.jagrosh.jmusicbot.utils.FormatUtil;
@@ -34,6 +35,7 @@ public class SetvcCmd extends AdminCommand
this.name = "setvc";
this.help = "sets the voice channel for playing music";
this.arguments = "<channel|NONE>";
this.aliases = JMusicBot.config.getAliases(this.name);
}
@Override