mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 22:00:11 +08:00
fix
This commit is contained in:
parent
14786a94bf
commit
43dee54678
@ -45,7 +45,7 @@ func (db *antidb) deleteWord(gid int64, word string) error {
|
|||||||
if n, _ := db.Count(grp); n == 0 {
|
if n, _ := db.Count(grp); n == 0 {
|
||||||
return errors.New("本群还没有违禁词~")
|
return errors.New("本群还没有违禁词~")
|
||||||
}
|
}
|
||||||
return db.Del(grp, "WHRER word='"+word+"'")
|
return db.Del(grp, "WHERE word='"+word+"'")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (db *antidb) listWords(gid int64) string {
|
func (db *antidb) listWords(gid int64) string {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user