item id over index
This commit is contained in:
parent
a71866ed6e
commit
12c7e81325
@ -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}/)"
|
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}"
|
description = f"Subscription: {sub.name}\n{links}"
|
||||||
|
|
||||||
key = f"{index}. {item.title}"
|
key = f"{item.id}. {item.title}"
|
||||||
return key, description
|
return key, description
|
||||||
|
|
||||||
async def getdata(page: int, pagesize: int):
|
async def getdata(page: int, pagesize: int):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user