@@ -175,7 +175,7 @@ func botOffline(m *tb.Message) {
return
}
r := regexp.MustCompile("^\\/give @(?P<Username>[a-zA-Z0-9]+)")
r := regexp.MustCompile("^\\/offline @(?P<Username>[a-zA-Z0-9]+)")
if !r.MatchString(m.Text) {
bot.SendChat(m.Chat.ID, "Wrong format.")
The note is not visible to the blocked user.