mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +03:00
d60c3242af
swc_bundler: - Fix cycle detection for complex circular imports. (denoland/deno#10752) swc_ecma_transforms_typescript: - Allow using large values for an enum variant.
45 lines
996 B
TypeScript
45 lines
996 B
TypeScript
// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/audit_log/audit_log_events.ts
|
|
|
|
|
|
/** https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events */
|
|
export enum DiscordAuditLogEvents {
|
|
GuildUpdate = 1,
|
|
ChannelCreate = 10,
|
|
ChannelUpdate,
|
|
ChannelDelete,
|
|
ChannelOverwriteCreate,
|
|
ChannelOverwriteUpdate,
|
|
ChannelOverwriteDelete,
|
|
MemberKick = 20,
|
|
MemberPrune,
|
|
MemberBanAdd,
|
|
MemberBanRemove,
|
|
MemberUpdate,
|
|
MemberRoleUpdate,
|
|
MemberMove,
|
|
MemberDisconnect,
|
|
BotAdd,
|
|
RoleCreate = 30,
|
|
RoleUpdate,
|
|
RoleDelete,
|
|
InviteCreate = 40,
|
|
InviteUpdate,
|
|
InviteDelete,
|
|
WebhookCreate = 50,
|
|
WebhookUpdate,
|
|
WebhookDelete,
|
|
EmojiCreate = 60,
|
|
EmojiUpdate,
|
|
EmojiDelete,
|
|
MessageDelete = 72,
|
|
MessageBulkDelete,
|
|
MessagePin,
|
|
MessageUnpin,
|
|
IntegrationCreate = 80,
|
|
IntegrationUpdate,
|
|
IntegrationDelete,
|
|
}
|
|
|
|
export type AuditLogEvents = DiscordAuditLogEvents;
|
|
export const AuditLogEvents = DiscordAuditLogEvents;
|