Signed-off-by: Etzelia <etzelia@hotmail.com>
pull/9/head
Etzelia 2021-06-20 16:34:51 -05:00
parent 8e83885118
commit a1dbb0f31d
No known key found for this signature in database
GPG Key ID: 708511AE7ABC5314
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@ import (
) )
func Echo(cfg *config.Config) { func Echo(cfg *config.Config) {
for _, e := range cfg.Echoes { for _, echo := range cfg.Echoes {
e := echo // Closure
commands = append(commands, &command{ commands = append(commands, &command{
name: e.Name, name: e.Name,
aliases: e.Aliases, aliases: e.Aliases,