discord.js-selfbot-v13/typings/enums.d.ts

293 lines
5.2 KiB
TypeScript
Raw Permalink Normal View History

2022-03-19 10:37:45 +00:00
// These are enums that are used in the typings file but do not exist as actual exported values. To prevent them from
// showing up in an editor, they are imported from here instead of exporting them there directly.
export const enum ActivityTypes {
PLAYING = 0,
STREAMING = 1,
LISTENING = 2,
WATCHING = 3,
CUSTOM = 4,
COMPETING = 5,
2024-01-31 12:13:15 +00:00
HANG = 6,
2022-03-19 10:37:45 +00:00
}
export const enum ApplicationCommandTypes {
CHAT_INPUT = 1,
USER = 2,
MESSAGE = 3,
}
export const enum ApplicationCommandOptionTypes {
SUB_COMMAND = 1,
SUB_COMMAND_GROUP = 2,
STRING = 3,
INTEGER = 4,
BOOLEAN = 5,
USER = 6,
CHANNEL = 7,
ROLE = 8,
MENTIONABLE = 9,
NUMBER = 10,
2022-05-14 08:06:15 +00:00
ATTACHMENT = 11,
2022-03-19 10:37:45 +00:00
}
export const enum ApplicationCommandPermissionTypes {
ROLE = 1,
USER = 2,
}
2022-12-20 15:46:50 +00:00
export const enum AutoModerationRuleTriggerTypes {
KEYWORD = 1,
SPAM = 2,
KEYWORD_PRESET = 3,
MENTION_SPAM = 4,
}
export const enum AutoModerationRuleKeywordPresetTypes {
PROFANITY = 1,
SEXUAL_CONTENT = 2,
SLURS = 3,
}
export const enum AutoModerationActionTypes {
BLOCK_MESSAGE = 1,
SEND_ALERT_MESSAGE = 2,
TIMEOUT = 3,
}
export const enum AutoModerationRuleEventTypes {
MESSAGE_SEND = 1,
}
2022-03-19 10:37:45 +00:00
export const enum ChannelTypes {
GUILD_TEXT = 0,
DM = 1,
GUILD_VOICE = 2,
GROUP_DM = 3,
GUILD_CATEGORY = 4,
GUILD_NEWS = 5,
GUILD_STORE = 6,
UNKNOWN = 7,
GUILD_NEWS_THREAD = 10,
GUILD_PUBLIC_THREAD = 11,
GUILD_PRIVATE_THREAD = 12,
GUILD_STAGE_VOICE = 13,
2022-05-14 08:06:15 +00:00
GUILD_DIRECTORY = 14,
GUILD_FORUM = 15,
2022-03-19 10:37:45 +00:00
}
export const enum SortOrderType {
LATEST_ACTIVITY = 1,
CREATION_DATE = 2,
}
export const enum ForumLayoutType {
NOT_SET = 0,
LIST_VIEW = 1,
GALLERY_VIEW = 2,
}
2022-03-19 10:37:45 +00:00
export const enum MessageTypes {
DEFAULT,
RECIPIENT_ADD,
RECIPIENT_REMOVE,
CALL,
CHANNEL_NAME_CHANGE,
CHANNEL_ICON_CHANGE,
CHANNEL_PINNED_MESSAGE,
GUILD_MEMBER_JOIN,
USER_PREMIUM_GUILD_SUBSCRIPTION,
USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_1,
USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_2,
USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_3,
CHANNEL_FOLLOW_ADD,
GUILD_DISCOVERY_DISQUALIFIED = 14,
GUILD_DISCOVERY_REQUALIFIED,
GUILD_DISCOVERY_GRACE_PERIOD_INITIAL_WARNING,
GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING,
THREAD_CREATED,
REPLY,
APPLICATION_COMMAND,
THREAD_STARTER_MESSAGE,
GUILD_INVITE_REMINDER,
CONTEXT_MENU_COMMAND,
2023-01-14 11:07:56 +00:00
AUTO_MODERATION_ACTION,
2023-01-26 06:48:53 +00:00
ROLE_SUBSCRIPTION_PURCHASE,
2022-03-19 10:37:45 +00:00
}
export const enum DefaultMessageNotificationLevels {
ALL_MESSAGES = 0,
ONLY_MENTIONS = 1,
}
export const enum ExplicitContentFilterLevels {
DISABLED = 0,
MEMBERS_WITHOUT_ROLES = 1,
ALL_MEMBERS = 2,
}
export const enum GuildScheduledEventEntityTypes {
STAGE_INSTANCE = 1,
VOICE = 2,
EXTERNAL = 3,
}
export const enum GuildScheduledEventPrivacyLevels {
GUILD_ONLY = 2,
}
export const enum GuildScheduledEventStatuses {
SCHEDULED = 1,
ACTIVE = 2,
COMPLETED = 3,
CANCELED = 4,
}
export const enum InteractionResponseTypes {
PONG = 1,
CHANNEL_MESSAGE_WITH_SOURCE = 4,
DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE = 5,
DEFERRED_MESSAGE_UPDATE = 6,
UPDATE_MESSAGE = 7,
APPLICATION_COMMAND_AUTOCOMPLETE_RESULT = 8,
2022-05-14 08:06:15 +00:00
MODAL = 9,
2022-03-19 10:37:45 +00:00
}
export const enum InteractionTypes {
PING = 1,
APPLICATION_COMMAND = 2,
MESSAGE_COMPONENT = 3,
APPLICATION_COMMAND_AUTOCOMPLETE = 4,
2022-05-14 08:06:15 +00:00
MODAL_SUBMIT = 5,
2022-03-19 10:37:45 +00:00
}
export const enum InviteTargetType {
STREAM = 1,
2024-01-24 12:53:59 +00:00
EMBEDDED_APPLICATION,
ROLE_SUBSCRIPTIONS,
CREATOR_PAGE,
}
export const enum InviteType {
GUILD,
GROUP_DM,
FRIEND,
2022-03-19 10:37:45 +00:00
}
export const enum MembershipStates {
INVITED = 1,
ACCEPTED = 2,
}
export const enum MessageButtonStyles {
PRIMARY = 1,
SECONDARY = 2,
SUCCESS = 3,
DANGER = 4,
LINK = 5,
}
export const enum MessageComponentTypes {
ACTION_ROW = 1,
BUTTON = 2,
2022-11-06 05:05:18 +00:00
STRING_SELECT = 3,
2022-05-14 08:06:15 +00:00
TEXT_INPUT = 4,
2022-11-06 05:05:18 +00:00
USER_SELECT = 5,
2022-12-18 06:17:48 +00:00
ROLE_SELECT = 6,
MENTIONABLE_SELECT = 7,
CHANNEL_SELECT = 8,
}
export const enum SelectMenuComponentTypes {
STRING_SELECT = 3,
USER_SELECT = 5,
2022-11-06 05:05:18 +00:00
ROLE_SELECT = 6,
MENTIONABLE_SELECT = 7,
CHANNEL_SELECT = 8,
2022-05-14 08:06:15 +00:00
}
2022-03-19 10:37:45 +00:00
export const enum MFALevels {
NONE = 0,
ELEVATED = 1,
}
export const enum NSFWLevels {
DEFAULT = 0,
EXPLICIT = 1,
SAFE = 2,
AGE_RESTRICTED = 3,
}
export const enum OverwriteTypes {
role = 0,
member = 1,
}
export const enum PremiumTiers {
NONE = 0,
TIER_1 = 1,
TIER_2 = 2,
TIER_3 = 3,
}
export const enum PrivacyLevels {
PUBLIC = 1,
GUILD_ONLY = 2,
}
export const enum StickerFormatTypes {
PNG = 1,
APNG = 2,
LOTTIE = 3,
2023-02-22 12:12:46 +00:00
GIF = 4,
2022-03-19 10:37:45 +00:00
}
export const enum StickerTypes {
STANDARD = 1,
GUILD = 2,
}
2022-05-14 08:06:15 +00:00
export const enum TextInputStyles {
SHORT = 1,
PARAGRAPH = 2,
}
2022-03-19 10:37:45 +00:00
export const enum VerificationLevels {
NONE = 0,
LOW = 1,
MEDIUM = 2,
HIGH = 3,
VERY_HIGH = 4,
}
2022-05-14 08:06:15 +00:00
export const enum VideoQualityModes {
AUTO = 1,
FULL = 2,
}
2022-03-19 10:37:45 +00:00
export const enum WebhookTypes {
Incoming = 1,
'Channel Follower' = 2,
Application = 3,
}
export enum ApplicationRoleConnectionMetadataTypes {
INTEGER_LESS_THAN_OR_EQUAL = 1,
INTEGER_GREATER_THAN_OR_EQUAL,
INTEGER_EQUAL,
INTEGER_NOT_EQUAL,
DATATIME_LESS_THAN_OR_EQUAL,
DATATIME_GREATER_THAN_OR_EQUAL,
BOOLEAN_EQUAL,
BOOLEAN_NOT_EQUAL,
}
2024-01-14 05:33:11 +00:00
export const enum RelationshipTypes {
NONE = 0,
FRIEND = 1,
BLOCKED = 2,
PENDING_INCOMING = 3,
PENDING_OUTGOING = 4,
IMPLICIT = 5,
}