From c8a751b4685616a9004cfc58e95ad346bc91813b Mon Sep 17 00:00:00 2001 From: Lennard Brinkhaus Date: Mon, 28 Oct 2024 21:43:47 +0100 Subject: [PATCH] fix: syntax error --- cli/commands/list_verify.go | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/cli/commands/list_verify.go b/cli/commands/list_verify.go index 14eae94..a079411 100644 --- a/cli/commands/list_verify.go +++ b/cli/commands/list_verify.go @@ -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 }