mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 13:59:39 +08:00
fix: chat call name
This commit is contained in:
parent
a2426de70c
commit
6f22a9c4bc
@ -24,7 +24,7 @@ var (
|
||||
|
||||
func init() { // 插件主体
|
||||
// 被喊名字
|
||||
engine.OnMessage(zero.OnlyToMe).SetBlock(true).
|
||||
engine.OnFullMatch("", zero.OnlyToMe).SetBlock(true).
|
||||
Handle(func(ctx *zero.Ctx) {
|
||||
var nickname = zero.BotConfig.NickName[0]
|
||||
time.Sleep(time.Second * 1)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user