fix: Update post URL formatting in _fetch_posts_logic method
This commit is contained in:
parent
d0412fe3b8
commit
ff2e555b1e
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user