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 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")