mirror of
https://github.com/Paillat-dev/pycord-reactive-views.git
synced 2026-01-02 17:14:56 +00:00
Finally fixed
This commit is contained in:
@@ -28,6 +28,8 @@ class ReactiveView(discord.ui.View):
|
||||
|
||||
async def _get_embeds(self) -> list[discord.Embed]:
|
||||
"""Get the discord embeds to be displayed in the message."""
|
||||
if embed := await self._get_embed():
|
||||
return [embed]
|
||||
return []
|
||||
|
||||
async def _get_content(self) -> str | None:
|
||||
|
||||
Reference in New Issue
Block a user