swc/bundler/tests/.cache/deno/93f5727abb786740ba3305b5fee272398a647912.ts
강동윤 d60c3242af
fix(swc): Fix bugs (#1739)
swc_bundler:
 - Fix cycle detection for complex circular imports. (denoland/deno#10752)

swc_ecma_transforms_typescript:
 - Allow using large values for an enum variant.
2021-05-25 14:30:17 +09:00

26 lines
1.1 KiB
TypeScript

// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/messages/message_flags.ts
/** https://discord.com/developers/docs/resources/channel#message-object-message-flags */
export enum DiscordMessageFlags {
/** This message has been published to subscribed channels (via Channel Following) */
Crossposted = 1 << 0,
/** This message originated from a message in another channel (via Channel Following) */
IsCrosspost = 1 << 1,
/** Do not include any embeds when serializing this message */
SuppressEmbeeds = 1 << 2,
/** The source message for this crosspost has been deleted (via Channel Following) */
SourceMessageDeleted = 1 << 3,
/** This message came from the urgent message system */
Urgent = 1 << 4,
/** This message has an associated thread, with the same id as the message */
HasThread = 1 << 5,
/** This message is only visible to the user who invoked the Interaction */
Empheral = 1 << 6,
/** This message is an Interaction Response and the bot is "thinking" */
Loading = 1 << 7,
}
export type MessageFlags = DiscordMessageFlags;
export const MessageFlags = DiscordMessageFlags;