mirror of https://github.com/Mai-with-u/MaiBot.git
🤖 自动格式化代码 [skip ci]
parent
cb49714d85
commit
c94ef75822
|
|
@ -131,8 +131,7 @@ class MaiEmoji:
|
|||
|
||||
# 使用upsert确保记录存在或被更新
|
||||
db["emoji"].update_one({"hash": self.hash}, {"$set": emoji_record}, upsert=True)
|
||||
|
||||
|
||||
|
||||
logger.success(f"[注册] 表情包信息保存到数据库: {self.emotion}")
|
||||
|
||||
return True
|
||||
|
|
|
|||
Loading…
Reference in New Issue