mirror of
https://github.com/Genshin-bots/gsuid_core.git
synced 2025-05-12 06:55:49 +08:00
🐛 修正发送类型 (KimigaiiWuyi/GenshinUID#606)
This commit is contained in:
parent
548fc8a2a5
commit
ac081c5b4d
@ -229,7 +229,9 @@ class Bot:
|
|||||||
return await self.bot.target_send(
|
return await self.bot.target_send(
|
||||||
message,
|
message,
|
||||||
self.ev.user_type,
|
self.ev.user_type,
|
||||||
self.ev.group_id if self.ev.group_id else self.ev.user_id,
|
self.ev.user_id
|
||||||
|
if self.ev.user_type == 'direct'
|
||||||
|
else self.ev.group_id,
|
||||||
self.ev.real_bot_id,
|
self.ev.real_bot_id,
|
||||||
self.bot_self_id,
|
self.bot_self_id,
|
||||||
self.ev.msg_id,
|
self.ev.msg_id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user