You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
249 B

package main
import (
"strings"
)
func checkIp(text string) bool {
if len(strings.Split(text, ".")) != 4 {
return false
}
if len(strings.Split(text, "")) > 16 {
return false
}
return true
}
func main() {
readConfig()
telegramBot()
}