From ff2e555b1e60393a5540ff2f27b15632fc159c7f Mon Sep 17 00:00:00 2001 From: Slipstream Date: Wed, 4 Jun 2025 21:32:01 -0600 Subject: [PATCH] fix: Update post URL formatting in _fetch_posts_logic method --- cogs/gelbooru_watcher_base_cog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/gelbooru_watcher_base_cog.py b/cogs/gelbooru_watcher_base_cog.py index 2f1e328..336eec2 100644 --- a/cogs/gelbooru_watcher_base_cog.py +++ b/cogs/gelbooru_watcher_base_cog.py @@ -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):