fix: syntax error
This commit is contained in:
parent
2ae3e4f196
commit
c8a751b468
@ -9,17 +9,6 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
package commands
|
||||
|
||||
import (
|
||||
"git.dragon-labs.de/alphyron/group_helper/cli"
|
||||
"git.dragon-labs.de/alphyron/group_helper/models"
|
||||
"git.dragon-labs.de/alphyron/group_helper/obj"
|
||||
tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api"
|
||||
"strconv"
|
||||
"strings"
|
||||
)
|
||||
|
||||
type listVerifyCommand struct {
|
||||
verifyData *obj.VerifyData
|
||||
}
|
||||
@ -47,7 +36,7 @@ func (w listVerifyCommand) ExecuteCommand(api *tgbotapi.BotAPI, update *tgbotapi
|
||||
currentUsers = append(currentUsers, strconv.Itoa(user.UserID))
|
||||
}
|
||||
|
||||
_, err := api.Send(tgbotapi.NewMessage(update.Message.Chat.ID, "Users: [" + strings.Join(currentUsers, ",") + "]"))
|
||||
_, err := api.Send(tgbotapi.NewMessage(update.Message.Chat.ID, "Users: ["+strings.Join(currentUsers, ",")+"]"))
|
||||
return err != nil, err
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user