mirror of
https://github.com/Genshin-bots/gsuid_core.git
synced 2025-05-08 04:56:00 +08:00
🐛 修复属性错误
This commit is contained in:
parent
36e69aab0f
commit
ba6b54d379
@ -68,14 +68,13 @@ class GsCoreSubscribe:
|
||||
'user_id',
|
||||
'bot_id',
|
||||
'group_id',
|
||||
'task_name',
|
||||
'bot_self_id',
|
||||
'user_type',
|
||||
'extra_message',
|
||||
]:
|
||||
if i not in opt:
|
||||
upd[i] = event.__getattribute__(i)
|
||||
|
||||
upd['extra_message'] = extra_message
|
||||
await Subscribe.update_data_by_data(
|
||||
opt,
|
||||
upd,
|
||||
|
Loading…
x
Reference in New Issue
Block a user