diff --git a/deno.json b/deno.json index 1312de80..d8053ed3 100644 --- a/deno.json +++ b/deno.json @@ -1,4 +1,5 @@ { + "nodeModulesDir": true, "tasks": { "fmt": "npx prettier --write src/ test/ mod.ts deploy.ts deps.ts", "lint": "npx eslint src/ test/ mod.ts deploy.ts deps.ts", diff --git a/src/structures/webhook.ts b/src/structures/webhook.ts index 237afa45..b8da37b3 100644 --- a/src/structures/webhook.ts +++ b/src/structures/webhook.ts @@ -91,7 +91,7 @@ export class Webhook { ): Promise { if (typeof text === 'object') { option = text - text = undefined + text = option.content } if (text === undefined && option === undefined) {