diff --git a/mod.ts b/mod.ts index f869556..9336da3 100644 --- a/mod.ts +++ b/mod.ts @@ -1,3 +1,12 @@ export * from "./session/mod.ts"; export * from "./util/mod.ts"; export * from "./vendor/external.ts"; +export * from "./structures/User.ts"; +export * from "./structures/Role.ts"; +export * from "./structures/Base.ts"; +export * from "./structures/Guild.ts"; +export * from "./structures/Member.ts"; +export * from "./structures/Message.ts"; +export * from "./structures/BaseGuild.ts"; +export * from "./structures/Attachment.ts"; +export * from "./structures/AnonymousGuild.ts"; 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; }