🐛 Fix WishLogPlugin has no attribute get_genshin_client

This commit is contained in:
洛水居室 2023-03-14 19:54:25 +08:00
parent a1a0c6913c
commit 622313e15b
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC

View File

@ -354,7 +354,7 @@ class WishLogPlugin(Plugin.Conversation):
all_five = True all_five = True
logger.info("用户 %s[%s] 抽卡统计命令请求 || 参数 %s || 仅五星 %s", user.full_name, user.id, pool_type.name, all_five) logger.info("用户 %s[%s] 抽卡统计命令请求 || 参数 %s || 仅五星 %s", user.full_name, user.id, pool_type.name, all_five)
try: try:
client = await self.get_genshin_client(user.id, need_cookie=False) client = await self.helper.get_genshin_client(user.id, need_cookie=False)
group = filters.ChatType.GROUPS.filter(message) group = filters.ChatType.GROUPS.filter(message)
await message.reply_chat_action(ChatAction.TYPING) await message.reply_chat_action(ChatAction.TYPING)
if all_five: if all_five: