mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
fix channel types
This commit is contained in:
+2
-2
@@ -2,8 +2,6 @@ import { Raw_Overwrite, Overwrite } from './guild.ts'
|
||||
import { Embed } from './message.ts'
|
||||
|
||||
export interface Base_Channel_Create {
|
||||
/** The id of this channel */
|
||||
id: string
|
||||
/** The type of the channel */
|
||||
type: Channel_Type
|
||||
/** The id of the guild */
|
||||
@@ -31,6 +29,8 @@ export interface Base_Channel_Create {
|
||||
}
|
||||
|
||||
export interface Channel_Create_Payload extends Base_Channel_Create {
|
||||
/** The id of this channel */
|
||||
id: string
|
||||
/** Explicit permission overwrites for members and roles */
|
||||
permission_overwrites?: Raw_Overwrite[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user