stuff
This commit is contained in:
parent
a9b7fca08d
commit
c39a2f31e6
|
@ -1,19 +0,0 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strings"
|
||||
)
|
||||
|
||||
func doCountAuto() {
|
||||
if err := me.chats.ConfigLoad(); err != nil {
|
||||
badExit(err)
|
||||
}
|
||||
count := 0
|
||||
for _, chat := range me.chats.GetChats() {
|
||||
if strings.HasPrefix(chat.GetChatName(), "Auto ") {
|
||||
count++
|
||||
}
|
||||
}
|
||||
fmt.Println(count)
|
||||
}
|
Loading…
Reference in New Issue