mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 17:00:08 +00:00
Directly pass options to snakelize()
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user