lilybird
Version:
A bun-first discord api wrapper written in TS
78 lines • 1.74 kB
TypeScript
export declare const enum InteractionType {
PING = 1,
APPLICATION_COMMAND = 2,
MESSAGE_COMPONENT = 3,
APPLICATION_COMMAND_AUTOCOMPLETE = 4,
MODAL_SUBMIT = 5
}
export declare const enum InteractionContextType {
GUILD = 0,
BOT_DM = 1,
PRIVATE_CHANNEL = 2
}
export declare const enum ApplicationCommandType {
CHAT_INPUT = 1,
USER = 2,
MESSAGE = 3
}
export declare const enum ApplicationCommandOptionType {
SUB_COMMAND = 1,
SUB_COMMAND_GROUP = 2,
STRING = 3,
INTEGER = 4,
BOOLEAN = 5,
USER = 6,
CHANNEL = 7,
ROLE = 8,
MENTIONABLE = 9,
NUMBER = 10,
ATTACHMENT = 11
}
export declare const enum ApplicationCommandPermissionType {
ROLE = 1,
USER = 2,
CHANNEL = 3
}
export declare const enum ComponentType {
ActionRow = 1,
Button = 2,
StringSelect = 3,
TextInput = 4,
UserSelect = 5,
RoleSelect = 6,
MentionableSelect = 7,
ChannelSelect = 8,
Section = 9,
TextDisplay = 10,
Thumbnail = 11,
MediaGallery = 12,
File = 13,
Separator = 14,
Container = 17
}
export declare const enum ButtonStyle {
Primary = 1,
Secondary = 2,
Success = 3,
Danger = 4,
Link = 5,
Premium = 6
}
export declare const enum TextInputStyle {
Short = 1,
Paragraph = 2
}
export declare const enum EntitlementType {
APPLICATION_SUBSCRIPTION = 8
}
export declare const enum InteractionCallbackType {
PONG = 1,
CHANNEL_MESSAGE_WITH_SOURCE = 4,
DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE = 5,
DEFERRED_UPDATE_MESSAGE = 6,
UPDATE_MESSAGE = 7,
APPLICATION_COMMAND_AUTOCOMPLETE_RESULT = 8,
MODAL = 9,
PREMIUM_REQUIRED = 10
}
//# sourceMappingURL=interaction.d.ts.map