mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 08:50:07 +00:00
Add customizers for colleactibles and nameplate (#4241)
They exited in the types but didn't in the runtime object causing a runtime error when the code needed to transform a nameplate Co-authored-by: Awesome Stickz <awesome@stickz.dev>
This commit is contained in:
@@ -573,6 +573,7 @@ export function createTransformers<TProps extends TransformersDesiredProperties,
|
||||
automodRule: options.customizers?.automodRule ?? defaultCustomizer,
|
||||
avatarDecorationData: options.customizers?.avatarDecorationData ?? defaultCustomizer,
|
||||
channel: options.customizers?.channel ?? defaultCustomizer,
|
||||
collectibles: options.customizers?.collectibles ?? defaultCustomizer,
|
||||
component: options.customizers?.component ?? defaultCustomizer,
|
||||
defaultReactionEmoji: options.customizers?.defaultReactionEmoji ?? defaultCustomizer,
|
||||
embed: options.customizers?.embed ?? defaultCustomizer,
|
||||
@@ -602,6 +603,7 @@ export function createTransformers<TProps extends TransformersDesiredProperties,
|
||||
messageCall: options.customizers?.messageCall ?? defaultCustomizer,
|
||||
messageInteractionMetadata: options.customizers?.messageInteractionMetadata ?? defaultCustomizer,
|
||||
messageSnapshot: options.customizers?.messageSnapshot ?? defaultCustomizer,
|
||||
nameplate: options.customizers?.nameplate ?? defaultCustomizer,
|
||||
poll: options.customizers?.poll ?? defaultCustomizer,
|
||||
pollMedia: options.customizers?.pollMedia ?? defaultCustomizer,
|
||||
presence: options.customizers?.presence ?? defaultCustomizer,
|
||||
|
||||
Reference in New Issue
Block a user