mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-04 03:10:01 +08:00
🚧 Update the data types of the user_qq and group_id fields to str
This commit is contained in:
@@ -75,8 +75,8 @@ def CostGold(gold: int):
|
||||
await matcher.finish(at(event.user_id) + f"金币不足..该功能需要{gold}金币..")
|
||||
await BagUser.spend_gold(event.user_id, event.group_id, gold)
|
||||
await UserShopGoldLog.create(
|
||||
user_qq=event.user_id,
|
||||
group_id=event.group_id,
|
||||
user_qq=str(event.user_id),
|
||||
group_id=str(event.group_id),
|
||||
type=2,
|
||||
name=matcher.plugin_name,
|
||||
num=1,
|
||||
|
||||
Reference in New Issue
Block a user