feat(utils): use improved disnake_paginator interaction wrapper

Adds edit support (via utils.reply)
This commit is contained in:
2025-01-06 14:31:08 -05:00
parent 729fc28f1b
commit da5db1e73a
3 changed files with 33 additions and 8 deletions

View File

@@ -219,7 +219,7 @@ async def queue_or_play(message, edited=False):
],
)
),
).start(disnake_paginator.wrappers.MessageInteractionWrapper(message))
).start(utils.MessageInteractionWrapper(message))
else:
await utils.reply(
message,
@@ -255,9 +255,7 @@ async def playing(message):
)
for embed in paginator.embeds:
embed.url = source.original_url
await paginator.start(
disnake_paginator.wrappers.MessageInteractionWrapper(message)
)
await paginator.start(utils.MessageInteractionWrapper(message))
else:
await utils.reply(
message,