Browse Source

Trim SlashCommandInfo.ToString() (#346)

Co-authored-by: TheStachelfisch <TheStachelfisch@users.noreply.github.com>
pull/1966/head
TheStachelfisch GitHub 3 years ago
parent
commit
44614f29b1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.Interactions/Info/Commands/CommandInfo.cs

+ 1
- 1
src/Discord.Net.Interactions/Info/Commands/CommandInfo.cs View File

@@ -241,7 +241,7 @@ namespace Discord.Interactions
}
builder.AppendFormat(" {0}", Name);

return builder.ToString();
return builder.ToString().Trim();
}
}
}

Loading…
Cancel
Save