mirror of
https://github.com/swc-project/swc.git
synced 2024-12-23 05:32:09 +03:00
32 lines
1.2 KiB
TypeScript
32 lines
1.2 KiB
TypeScript
// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/channels/channel_types.ts
|
|
|
|
|
|
/** https://discord.com/developers/docs/resources/channel#channel-object-channel-types */
|
|
export enum DiscordChannelTypes {
|
|
/** A text channel within a server */
|
|
GuildText,
|
|
/** A direct message between users */
|
|
DM,
|
|
/** A voice channel within a server */
|
|
GuildVoice,
|
|
/** A direct message between multiple users */
|
|
GroupDm,
|
|
/** An organizational category that contains up to 50 channels */
|
|
GuildCategory,
|
|
/** A channel that users can follow and crosspost into their own server */
|
|
GuildNews,
|
|
/** A channel in which game developers can sell their game on Discord */
|
|
GuildStore,
|
|
/** A temporary sub-channel within a GUILD_NEWS channel */
|
|
GuildNewsThread = 10,
|
|
/** A temporary sub-channel within a GUILD_TEXT channel */
|
|
GuildPublicThread,
|
|
/** A temporary sub-channel within a GUILD_TEXT channel that is only viewable by those invited and those with the MANAGE_THREADS permission */
|
|
GuildPivateThread,
|
|
/** A voice channel for hosting events with an audience */
|
|
GuildStageVoice = 13,
|
|
}
|
|
|
|
export type ChannelTypes = DiscordChannelTypes;
|
|
export const ChannelTypes = DiscordChannelTypes;
|