Directly pass options to snakelize()

This commit is contained in:
rigormorrtiss
2021-05-26 22:10:36 +04:00
parent 6fe7d0e1dc
commit f01143145d

View File

@@ -51,7 +51,7 @@ export async function editWebhookMessage(
options.messageId
? endpoints.WEBHOOK_MESSAGE(webhookId, webhookToken, options.messageId)
: endpoints.WEBHOOK_MESSAGE_ORIGINAL(webhookId, webhookToken),
snakelize({ ...options, allowedMentions: options.allowedMentions })
snakelize(options)
);
return await structures.createDiscordenoMessage(result);