mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
* refactor(bot)!: setup desired properties for all transformers SetupDesiredProps when is given an object that does not corrispond to a transformer object that supports desired properties will behave like TransformProperty on the entire object as when it tries to get the properties for said object it will find `never` as the props and for `IsKeyDesired` a props of `never` means that all props are desired. * Use Equals helper, clean up a bit the code * Explicit the IsKeyDesired TProps never behavior * fix(bot): Bug with return type in functions * fix(bot)!: Split DiscordSelectComponent into specific select components And add missing resolved property from the responses, since this now correctly transformers the responses, resolved has to be added. The reverse transformer does not transform resolved as it requires a bunch of others, such as a user, role, message reverse transformers etc. * Apply suggestions from code review Co-authored-by: Awesome Stickz <awesome@stickz.dev>