diff options
Diffstat (limited to 'commands')
| -rw-r--r-- | commands/config.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/commands/config.go b/commands/config.go index 62b7710..c308f6d 100644 --- a/commands/config.go +++ b/commands/config.go @@ -29,8 +29,10 @@ func ConfigShow(s *discordgo.Session, i *discordgo.InteractionCreate) { l = len(disChans) - 1 chans := "" for i, c := range disChans { - if i != l { + if i == l-1 { chans += fmt.Sprintf("> <#%s>", c) + } else if i != l { + chans += fmt.Sprintf("> <#%s>\n", c) } } if len(chans) == 0 { |
