mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 21:13:30 +01:00
types(Constants): add NonSystemMessageTypes (#7678)
This commit is contained in:
14
packages/discord.js/typings/index.d.ts
vendored
14
packages/discord.js/typings/index.d.ts
vendored
@@ -2809,6 +2809,12 @@ export class WelcomeScreen extends Base {
|
|||||||
|
|
||||||
//#region Constants
|
//#region Constants
|
||||||
|
|
||||||
|
export type NonSystemMessageType =
|
||||||
|
| MessageType.Default
|
||||||
|
| MessageType.Reply
|
||||||
|
| MessageType.ChatInputCommand
|
||||||
|
| MessageType.ContextMenuCommand;
|
||||||
|
|
||||||
export const Constants: {
|
export const Constants: {
|
||||||
Package: {
|
Package: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -2831,8 +2837,7 @@ export const Constants: {
|
|||||||
ThreadChannelTypes: ThreadChannelType[];
|
ThreadChannelTypes: ThreadChannelType[];
|
||||||
TextBasedChannelTypes: TextBasedChannelTypes[];
|
TextBasedChannelTypes: TextBasedChannelTypes[];
|
||||||
VoiceBasedChannelTypes: VoiceBasedChannelTypes[];
|
VoiceBasedChannelTypes: VoiceBasedChannelTypes[];
|
||||||
MessageTypes: MessageType[];
|
NonSystemMessageTypes: NonSystemMessageType[];
|
||||||
SystemMessageTypes: SystemMessageType[];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export const version: string;
|
export const version: string;
|
||||||
@@ -5063,11 +5068,6 @@ export type StickerResolvable = Sticker | Snowflake;
|
|||||||
|
|
||||||
export type SystemChannelFlagsResolvable = BitFieldResolvable<SystemChannelFlagsString, number>;
|
export type SystemChannelFlagsResolvable = BitFieldResolvable<SystemChannelFlagsString, number>;
|
||||||
|
|
||||||
export type SystemMessageType = Exclude<
|
|
||||||
MessageType,
|
|
||||||
MessageType.Default | MessageType.Reply | MessageType.ChatInputCommand | MessageType.ContextMenuCommand
|
|
||||||
>;
|
|
||||||
|
|
||||||
export type StageChannelResolvable = StageChannel | Snowflake;
|
export type StageChannelResolvable = StageChannel | Snowflake;
|
||||||
|
|
||||||
export interface StageInstanceEditOptions {
|
export interface StageInstanceEditOptions {
|
||||||
|
|||||||
Reference in New Issue
Block a user