Fixed error in custom_welcome_msg and message_builder

This commit is contained in:
NovaNo1r
2022-02-23 21:45:53 -08:00
parent c674d581b7
commit 76df21036a
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ async def _(bot: Bot, event: GroupIncreaseNoticeEvent):
at_flag = True
if (DATA_PATH / "custom_welcome_msg" / f"{event.group_id}.jpg").exists():
img = image(
abspath=DATA_PATH / "custom_welcome_msg" / f"{event.group_id}.jpg"
DATA_PATH / "custom_welcome_msg" / f"{event.group_id}.jpg"
)
if msg or img:
msg = msg.strip() + img