From 44614f29b1de1524d4a2cb33a779ec39d8cd3689 Mon Sep 17 00:00:00 2001 From: TheStachelfisch <50026847+TheStachelfisch@users.noreply.github.com> Date: Mon, 6 Dec 2021 19:08:22 +0100 Subject: [PATCH] Trim SlashCommandInfo.ToString() (#346) Co-authored-by: TheStachelfisch --- src/Discord.Net.Interactions/Info/Commands/CommandInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Discord.Net.Interactions/Info/Commands/CommandInfo.cs b/src/Discord.Net.Interactions/Info/Commands/CommandInfo.cs index f9fdb6e38..36cc6cbd8 100644 --- a/src/Discord.Net.Interactions/Info/Commands/CommandInfo.cs +++ b/src/Discord.Net.Interactions/Info/Commands/CommandInfo.cs @@ -241,7 +241,7 @@ namespace Discord.Interactions } builder.AppendFormat(" {0}", Name); - return builder.ToString(); + return builder.ToString().Trim(); } } }