From ea892c2fea3797f5cf79db0842d5183a77f82166 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 14 Dec 2019 14:52:28 +0800 Subject: [PATCH] fix remove g_stock --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index e7c3295..db51ec9 100644 --- a/main.go +++ b/main.go @@ -404,7 +404,7 @@ func ListenGuild(c *tdlib.Client) { fmt.Println("===============================================================================================================") for _, line := range strings.Split(strings.TrimSuffix(txt, "\n"), "\n") { - validID = regexp.MustCompile(`^/g_withdraw ([a-z0-9]+) ([0-9]+)$`) + validID := regexp.MustCompile(`^/g_withdraw ([a-z0-9]+) ([0-9]+)$`) if validID.MatchString(line) { fmt.Println("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! GUILD WITHDRAWAL SPOTTED !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")