mirror of
https://github.com/baiqwerdvd/StarRailUID.git
synced 2025-05-05 11:13:45 +08:00
🚨重新修复sr签到时未判断sr_uid的问题
This commit is contained in:
parent
c61e77f3bb
commit
7eb71c20e8
@ -149,7 +149,7 @@ async def daily_sign():
|
|||||||
sqla = get_sqla(bot_id)
|
sqla = get_sqla(bot_id)
|
||||||
user_list = await sqla.get_all_user()
|
user_list = await sqla.get_all_user()
|
||||||
for user in user_list:
|
for user in user_list:
|
||||||
if user.sign_switch != 'off':
|
if user.sign_switch != 'off' and user.sr_uid is not None:
|
||||||
tasks.append(
|
tasks.append(
|
||||||
single_daily_sign(
|
single_daily_sign(
|
||||||
user.bot_id,
|
user.bot_id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user