summaryrefslogtreecommitdiff
path: root/ATRI
diff options
context:
space:
mode:
Diffstat (limited to 'ATRI')
-rw-r--r--ATRI/plugins/chat.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ATRI/plugins/chat.py b/ATRI/plugins/chat.py
index 1089b43..8bc99ff 100644
--- a/ATRI/plugins/chat.py
+++ b/ATRI/plugins/chat.py
@@ -55,7 +55,7 @@ async def _():
elif res == 2:
img = Path('.') / 'ATRI' / 'data' / 'emoji' / 'SY.jpg'
img = os.path.abspath(img)
- msg = f'[CQ:image,file=file:///{os.path.abspath(img)}]'
+ msg = f'[CQ:image,file=file:///{img}]'
for group in groups:
await bot.send_group_msg(group_id = group, message = msg) #type: ignore
@@ -1016,4 +1016,4 @@ async def _(session: CommandSession):
trigger = trigger,
args = (user),
misfire_grace_time = 60,
- ) \ No newline at end of file
+ )