fix: Update post URL formatting in _fetch_posts_logic method

This commit is contained in:
Slipstream 2025-06-04 21:32:01 -06:00
parent d0412fe3b8
commit ff2e555b1e
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -403,7 +403,7 @@ class GelbooruWatcherBaseCog(commands.Cog, abc.ABC, metaclass=GelbooruWatcherMet
else:
random_result = random.choice(all_results)
post_url = self.post_url_template.format(random_result["id"])
return (f"{random_result['file_url']}\n{post_url}", all_results)
return (f"<{post_url}>\n{random_result['file_url']}", all_results)
class GelbooruButtons(View):
def __init__(self, cog: 'GelbooruWatcherBaseCog', tags: str, all_results: list, hidden: bool = False):