1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2025-03-22 01:49:27 +00:00

Bot: Fixed extra space in top-level comments

This commit is contained in:
diamondburned 2021-02-07 17:21:16 -08:00
parent 5a18435190
commit d13aa00a57

View file

@ -256,8 +256,10 @@ func (sub *Subcommand) HelpGenerate(showHidden bool) string {
continue
}
buf.WriteString(sub.Command)
buf.WriteByte(' ')
if sub.Command != "" {
buf.WriteString(sub.Command)
buf.WriteByte(' ')
}
if cmd == sub.PlumbedMethod() {
buf.WriteByte('[')