diff options
author | Kyomotoi <[email protected]> | 2020-08-19 00:07:16 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2020-08-19 00:07:16 +0800 |
commit | 294b665c6bb854418605de7975463ce3763c9a39 (patch) | |
tree | a423f221317c1693003351d282a7ca560d093647 | |
parent | 0d3d479a9b98aab47fb84ce0f5eadff17ff5d046 (diff) | |
download | ATRI-294b665c6bb854418605de7975463ce3763c9a39.tar.gz ATRI-294b665c6bb854418605de7975463ce3763c9a39.tar.bz2 ATRI-294b665c6bb854418605de7975463ce3763c9a39.zip |
Update chat.py
-rw-r--r-- | ATRI/plugins/chat.py | 4 |
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 + ) |