Fixed help message on /help command
This commit is contained in:
@@ -36,7 +36,7 @@ public class Help : DBSlashCommand
|
|||||||
//Console.WriteLine("Options: " + options.Count);
|
//Console.WriteLine("Options: " + options.Count);
|
||||||
if (options is null || options.Count == 0)
|
if (options is null || options.Count == 0)
|
||||||
foreach (var slashCommand in slashCommands)
|
foreach (var slashCommand in slashCommands)
|
||||||
embedBuilder.AddField(slashCommand.Name, slashCommand.Description, true);
|
embedBuilder.AddField(slashCommand.Name, slashCommand.Description);
|
||||||
|
|
||||||
if (options.Count > 0)
|
if (options.Count > 0)
|
||||||
{
|
{
|
||||||
@@ -48,7 +48,7 @@ public class Help : DBSlashCommand
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
embedBuilder.AddField(slashCommand.Name, slashCommand.canUseDM, true)
|
embedBuilder.AddField(slashCommand.Name, slashCommand.canUseDM)
|
||||||
.WithDescription(slashCommand.Description);
|
.WithDescription(slashCommand.Description);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user