mirror of
https://github.com/Genshin-bots/gsuid_core.git
synced 2025-06-05 23:19:46 +08:00
🎨 get_uid()
将不会修改ev中的信息
This commit is contained in:
parent
3c55ab4ba3
commit
c2cd2b0a13
BIN
b88384bd2673200aa5f364464012de7b.png
Normal file
BIN
b88384bd2673200aa5f364464012de7b.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 459 KiB |
@ -85,8 +85,6 @@ async def get_uid(
|
|||||||
|
|
||||||
if uid_data:
|
if uid_data:
|
||||||
uid = uid_data[0]
|
uid = uid_data[0]
|
||||||
if uid:
|
|
||||||
ev.text = ev.text.replace(uid, '')
|
|
||||||
else:
|
else:
|
||||||
uid = await bind_model.get_uid_by_game(user_id, ev.bot_id, game_name)
|
uid = await bind_model.get_uid_by_game(user_id, ev.bot_id, game_name)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user