You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.
`src/app/client/App.ts:24:22 - error TS2693: 'DiscordWebhook' only refers to a type, but is being used as a value here.
24 this.webhook = new DiscordWebhook();
~~~~~~~~~~~~~~
src/app/controllers/SuccessController.ts:7:10 - error TS2614: Module '"../../../node_modules/discord-webhook-ts/types/Webhook"' has no exported member 'Embed'. Did you mean to use 'import Embed from "../../../node_modules/discord-webhook-ts/types/Webhook"' instead?
7 import { Embed } from 'discord-webhook-ts';
~~~~~
src/app/structures/SuccessHandler.ts:3:10 - error TS2614: Module '"../../../node_modules/discord-webhook-ts/types/Webhook"' has no exported member 'Embed'. Did you mean to use 'import Embed from "../../../node_modules/discord-webhook-ts/types/Webhook"' instead?
3 import { Embed } from 'discord-webhook-ts';
~~~~~
src/app/structures/SuccessHandler.ts:32:27 - error TS2339: Property 'execute' does not exist on type 'DiscordWebhook'.
Property 'execute' does not exist on type 'BaseWebhook & ContentWebhook'.
`src/app/client/App.ts:24:22 - error TS2693: 'DiscordWebhook' only refers to a type, but is being used as a value here.
24 this.webhook = new DiscordWebhook();
~~~~~~~~~~~~~~
src/app/controllers/SuccessController.ts:7:10 - error TS2614: Module '"../../../node_modules/discord-webhook-ts/types/Webhook"' has no exported member 'Embed'. Did you mean to use 'import Embed from "../../../node_modules/discord-webhook-ts/types/Webhook"' instead?
7 import { Embed } from 'discord-webhook-ts';
~~~~~
src/app/structures/SuccessHandler.ts:3:10 - error TS2614: Module '"../../../node_modules/discord-webhook-ts/types/Webhook"' has no exported member 'Embed'. Did you mean to use 'import Embed from "../../../node_modules/discord-webhook-ts/types/Webhook"' instead?
3 import { Embed } from 'discord-webhook-ts';
~~~~~
src/app/structures/SuccessHandler.ts:32:27 - error TS2339: Property 'execute' does not exist on type 'DiscordWebhook'.
Property 'execute' does not exist on type 'BaseWebhook & ContentWebhook'.
32 await this.app.webhook.execute({ embeds });
~~~~~~~
Found 4 errors.`
The text was updated successfully, but these errors were encountered: