fixed runtime error regarding unpacking dataset
This commit is contained in:
parent
c785e5eeed
commit
a5eb297f1b
@ -127,7 +127,9 @@ class FeedCog(commands.Cog):
|
||||
async def autocomplete_rssfeed(self, inter: Interaction, name: str) -> list[Choice]:
|
||||
|
||||
async with aiohttp.ClientSession() as session:
|
||||
data = await API(session).get_rssfeed_list()
|
||||
data, _ = await API(self.bot.api_token, session).get_rssfeed_list(
|
||||
discord_server_id=inter.guild_id
|
||||
)
|
||||
rssfeeds = RSSFeed.from_list(data)
|
||||
|
||||
choices = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user