This commit is contained in:
shoopea 2021-12-08 19:54:01 +08:00
parent 14f65a433b
commit c6a235e436
2 changed files with 5 additions and 5 deletions

2
bot.go
View File

@ -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.")

View File

@ -1,6 +1,6 @@
// Code generated by version.sh (@generated) DO NOT EDIT.
package main
var githash = "d4b4094"
var buildstamp = "2021-12-08_11:50:42"
var commits = "238"
var version = "d4b4094-b238 - 2021-12-08_11:50:42"
var githash = "14f65a4"
var buildstamp = "2021-12-08_11:53:51"
var commits = "239"
var version = "14f65a4-b239 - 2021-12-08_11:53:51"