fix remove g_stock

This commit is contained in:
shoopea 2019-12-14 14:52:28 +08:00
parent d412c85eb4
commit ea892c2fea

View File

@ -404,7 +404,7 @@ func ListenGuild(c *tdlib.Client) {
fmt.Println("===============================================================================================================") fmt.Println("===============================================================================================================")
for _, line := range strings.Split(strings.TrimSuffix(txt, "\n"), "\n") { 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) { if validID.MatchString(line) {
fmt.Println("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! GUILD WITHDRAWAL SPOTTED !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!") fmt.Println("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! GUILD WITHDRAWAL SPOTTED !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")