This commit is contained in:
parent
2cb1539517
commit
f4e4c5dda4
@ -75,7 +75,7 @@ async def send_command_reply(
|
|||||||
elif first:
|
elif first:
|
||||||
await interaction.followup.send(
|
await interaction.followup.send(
|
||||||
files=splited_file,
|
files=splited_file,
|
||||||
content=f"{title} by {art_author} - <{url}> - Submited by {author.mention} {chr(10) + TIPS_MESSAGE if not muted else ''}",
|
content=f"**{title}** by `{art_author}` - <{url}> - Submited by {author.mention} {chr(10) + TIPS_MESSAGE if not muted else ''}",
|
||||||
)
|
)
|
||||||
first = False
|
first = False
|
||||||
else:
|
else:
|
||||||
|
@ -59,7 +59,7 @@ def dowload_pixiv_images(
|
|||||||
url=illust["meta_single_page"]["original_image_url"], path=dest_folder
|
url=illust["meta_single_page"]["original_image_url"], path=dest_folder
|
||||||
)
|
)
|
||||||
logging.info("Download finished !")
|
logging.info("Download finished !")
|
||||||
return (illust["title"], f"{illust['user']['name']}({illust['user']['account']})")
|
return (illust["title"], f"{illust['user']['name']} ({illust['user']['account']})")
|
||||||
|
|
||||||
|
|
||||||
def download_thread(q: Queue[Union[Tuple[str, str, pixivpy3.AppPixivAPI], None]]):
|
def download_thread(q: Queue[Union[Tuple[str, str, pixivpy3.AppPixivAPI], None]]):
|
||||||
|
Loading…
Reference in New Issue
Block a user