From 0e5c9ff14bb787043817ab5eb30de76d3eaf4166 Mon Sep 17 00:00:00 2001 From: Tudor Andrei Date: Mon, 31 Jul 2023 20:55:38 +0300 Subject: [PATCH] Fixed help message on /help command --- DiscordBot/Bot/Commands/SlashCommands/Help.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DiscordBot/Bot/Commands/SlashCommands/Help.cs b/DiscordBot/Bot/Commands/SlashCommands/Help.cs index 7f1599d..b733818 100644 --- a/DiscordBot/Bot/Commands/SlashCommands/Help.cs +++ b/DiscordBot/Bot/Commands/SlashCommands/Help.cs @@ -36,7 +36,7 @@ public class Help : DBSlashCommand //Console.WriteLine("Options: " + options.Count); if (options is null || options.Count == 0) foreach (var slashCommand in slashCommands) - embedBuilder.AddField(slashCommand.Name, slashCommand.Description, true); + embedBuilder.AddField(slashCommand.Name, slashCommand.Description); if (options.Count > 0) { @@ -48,7 +48,7 @@ public class Help : DBSlashCommand return; } - embedBuilder.AddField(slashCommand.Name, slashCommand.canUseDM, true) + embedBuilder.AddField(slashCommand.Name, slashCommand.canUseDM) .WithDescription(slashCommand.Description); }