Cleanup, tried to make parse optional
This commit is contained in:
@ -14,7 +14,10 @@ namespace NadekoBot.Modules {
|
||||
class Administration : DiscordModule {
|
||||
public Administration() : base() {
|
||||
commands.Add(new HelpCommand());
|
||||
commands.Add(new ServerGreetCommand());
|
||||
if(NadekoBot.ParseActive)
|
||||
commands.Add(new ServerGreetCommand());
|
||||
else
|
||||
Console.WriteLine("Parse not active. Server greet disabled.");
|
||||
}
|
||||
|
||||
public override void Install(ModuleManager manager) {
|
||||
|
@ -20,7 +20,10 @@ namespace NadekoBot.Modules {
|
||||
private string firestr = "🔥 ด้้้้้็็็็็้้้้้็็็็็้้้้้้้้็็็็็้้้้้็็ด้้้้้็็็็็้้้้้็็็็็้้้้้้้้็็็็็้้้้้็็็็็้้้้้้้้็็็ด้้้้้็็็็็้้้้้็็็็็้้้้้้้้็็็็็้้้้้็็็็็้้้้ 🔥";
|
||||
public Conversations() : base() {
|
||||
commands.Add(new CopyCommand());
|
||||
commands.Add(new RequestsCommand());
|
||||
if(NadekoBot.ParseActive)
|
||||
commands.Add(new RequestsCommand());
|
||||
else
|
||||
Console.WriteLine("Requests don't work, parse not valid.");
|
||||
}
|
||||
|
||||
public override void Install(ModuleManager manager) {
|
||||
|
@ -59,7 +59,7 @@ namespace NadekoBot.Modules {
|
||||
|
||||
cgb.CreateCommand("q")
|
||||
.Alias("yq")
|
||||
.Description("Queue a song using keywords or link. **You must be in a voice channel**.\n**Usage**: `!m q Dream Of Venice`")
|
||||
.Description("Queue a song using keywords or link. Bot will join your voice channel. **You must be in a voice channel**.\n**Usage**: `!m q Dream Of Venice`")
|
||||
.Parameter("query", ParameterType.Unparsed)
|
||||
.Do(async e => await QueueSong(e,e.GetArg("query")));
|
||||
|
||||
|
Reference in New Issue
Block a user