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

No files matched your search

+1 -1
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.")
+4 -4
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"