This commit is contained in:
HibiKier
2022-03-01 20:26:11 +08:00
parent 53b375b4b2
commit 12f55800b0
542 changed files with 173 additions and 152 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ async def _(event: GroupMessageEvent):
img = ""
msg = ""
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")
img = image(DATA_PATH / "custom_welcome_msg" / f"{event.group_id}.jpg")
custom_welcome_msg_json = (
DATA_PATH / "custom_welcome_msg" / "custom_welcome_msg.json"
)