diff --git a/StarRailUID/starrailuid_resin/__init__.py b/StarRailUID/starrailuid_resin/__init__.py index d23bd55..59690ba 100644 --- a/StarRailUID/starrailuid_resin/__init__.py +++ b/StarRailUID/starrailuid_resin/__init__.py @@ -39,7 +39,7 @@ async def force_notice_job(bot: Bot, ev: Event): @scheduler.scheduled_job('cron', minute='*/30') async def notice_job(): result = await get_notice_list() - logger.info('[推送检查]完成!等待消息推送中...') + logger.info('[sr推送检查]完成!等待消息推送中...') logger.debug(result) # 执行私聊推送 @@ -50,7 +50,7 @@ async def notice_job(): msg = result[bot_id]['direct'][user_id] await bot.target_send(msg, 'direct', user_id, bot_id, '', '') await asyncio.sleep(0.5) - logger.info('[推送检查] 私聊推送完成') + logger.info('[sr推送检查] 私聊推送完成') for gid in result[bot_id]['group']: msg_list = [] for user_id in result[bot_id]['group'][gid]: @@ -59,7 +59,7 @@ async def notice_job(): msg_list.append(MessageSegment.text(msg)) await bot.target_send(msg_list, 'group', gid, bot_id, '', '') await asyncio.sleep(0.5) - logger.info('[推送检查] 群聊推送完成') + logger.info('[sr推送检查] 群聊推送完成') @sv_get_resin.on_fullmatch(('sr每日', 'srmr', 'sr实时便笺', 'sr便笺', 'sr便签')) diff --git a/StarRailUID/starrailuid_resin/draw_resin_card.py b/StarRailUID/starrailuid_resin/draw_resin_card.py index fc28413..66cd517 100644 --- a/StarRailUID/starrailuid_resin/draw_resin_card.py +++ b/StarRailUID/starrailuid_resin/draw_resin_card.py @@ -87,6 +87,8 @@ async def _draw_task_img( anchor='mm', ) else: + note_travel_img = note_travel_bg.copy() + img.paste(note_travel_img, (0, 790 + index * 80), note_travel_img) img_draw.text( (120, 830 + index * 80), '等待加入探索队列...',