Browse Source

Don't add multiple spaces for multiple groups

tags/1.0-rc
FiniteReality 8 years ago
parent
commit
cddc39dfa1
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      src/Discord.Net.Commands/Module.cs

+ 3
- 2
src/Discord.Net.Commands/Module.cs View File

@@ -63,8 +63,9 @@ namespace Discord.Commands
if (groupAttrib.Prefix != null)
{
if (groupPrefix != "")
groupPrefix += " ";
nextGroupPrefix = groupPrefix + groupAttrib.Prefix ?? type.Name;
nextGroupPrefix = groupPrefix + " " + groupAttrib.Prefix ?? type.Name;
else
nextGroupPrefix = groupAttrib.Prefix ?? type.Name;
}
else
{


Loading…
Cancel
Save