mirror of
https://github.com/alterware/aw-bot.git
synced 2025-10-26 22:16:58 +00:00
fix: timeout issue
This commit is contained in:
@@ -140,7 +140,7 @@ class DiscourseUpdater(commands.Cog):
|
||||
"""
|
||||
tag_name = "docs"
|
||||
logger.info("Fetching Discourse data...")
|
||||
cooked_posts = fetch_cooked_posts(tag_name)
|
||||
cooked_posts = await fetch_cooked_posts(tag_name)
|
||||
if cooked_posts:
|
||||
combined_text = combine_posts_text(
|
||||
[{"cooked": post} for post in cooked_posts]
|
||||
|
||||
Reference in New Issue
Block a user