mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-03-22 18:09:21 +00:00
Bot: Fixed extra space in top-level comments
This commit is contained in:
parent
5a18435190
commit
d13aa00a57
|
@ -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('[')
|
||||
|
|
Loading…
Reference in a new issue