change: prettier code

This commit is contained in:
Skillz4Killz
2021-10-30 18:00:54 +00:00
committed by GitHub Action
parent 5f4548396f
commit be889b76ee

View File

@@ -55,12 +55,14 @@ export async function editWebhookMessage(
content: options.content,
embeds: options.embeds,
file: options.file,
allowed_mentions: options.allowedMentions ? {
parse: options.allowedMentions.parse,
roles: options.allowedMentions.roles,
users: options.allowedMentions.users,
replied_user: options.allowedMentions.repliedUser,
} : undefined,
allowed_mentions: options.allowedMentions
? {
parse: options.allowedMentions.parse,
roles: options.allowedMentions.roles,
users: options.allowedMentions.users,
replied_user: options.allowedMentions.repliedUser,
}
: undefined,
attachments: options.attachments,
components: options.components?.map((component) => ({
type: component.type,