update
This commit is contained in:
+3
-1
@@ -102,7 +102,9 @@ func handleMessage(sender Sender) {
|
||||
if function.Admin && !sender.IsAdmin() {
|
||||
sender.Delete()
|
||||
sender.Disappear()
|
||||
sender.Reply("没有权限操作")
|
||||
if sender.GetImType() != "wx" || sender.GetImType() != "qq" {
|
||||
sender.Reply("没有权限操作")
|
||||
}
|
||||
sender.Finish()
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user