diff --git a/structures/Message.ts b/structures/Message.ts index 9bff529..5d4de74 100644 --- a/structures/Message.ts +++ b/structures/Message.ts @@ -103,11 +103,11 @@ export class Message implements Model { async suppressEmbeds(suppress: true): Promise; async suppressEmbeds(suppress: false): Promise; async suppressEmbeds(suppress = true) { - if (this.flags === MessageFlags.SUPPRESS_EMBEDS && suppress === false) { + if (this.flags === MessageFlags.SupressEmbeds && suppress === false) { return; } - const message = await this.edit({ flags: MessageFlags.SUPPRESS_EMBEDS }); + const message = await this.edit({ flags: MessageFlags.SupressEmbeds }); return message; }