Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

fix(types): Allow passing EmbedBuilder or APIEmbed data directly with… #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

angelnext
Copy link

…out type errors

Before, when using the paginate function, you had to pass an Embed object directly. With this implementation, you can pass an embed, but you can also pass an EmbedBuilder, or Embed API data directly, without receiving a TypeScript error.

…out type errors

Before, when using the paginate function, you had to pass an Embed object directly. With this implementation, you can pass an embed, but you can also pass an EmbedBuilder, or Embed API data directly, without receiving a TypeScript error.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant