item id over index

This commit is contained in:
Corban-Lee Jones 2024-08-19 21:59:38 +01:00
parent a71866ed6e
commit 12c7e81325

View File

@ -154,7 +154,7 @@ class CommandsCog(commands.Cog):
links = f"[Content Link]({item.url}) · [Message Link](https://discord.com/channels/{sub.guild_id}/{item.channel_id}/{item.message_id}/)"
description = f"Subscription: {sub.name}\n{links}"
key = f"{index}. {item.title}"
key = f"{item.id}. {item.title}"
return key, description
async def getdata(page: int, pagesize: int):