🚧 dm channels

This commit is contained in:
Flam3rboy
2021-05-31 20:32:23 +02:00
parent 711dc1c4d4
commit 536900d255
6 changed files with 80 additions and 67 deletions
+6 -6
View File
@@ -14,16 +14,16 @@ export const ChannelModifySchema = {
id: String,
type: new Length(Number, 0, 1), // either 0 (role) or 1 (member)
allow: BigInt,
deny: BigInt,
},
deny: BigInt
}
],
$parent_id: String,
$nsfw: Boolean,
$nsfw: Boolean
};
export const DmChannelCreateSchema = {
$name: String,
recipients: [String],
recipients: new Length([String], 1, 10)
};
export interface DmChannelCreateSchema {
@@ -52,8 +52,8 @@ export interface ChannelModifySchema {
export const ChannelGuildPositionUpdateSchema = [
{
id: String,
$position: Number,
},
$position: Number
}
];
export type ChannelGuildPositionUpdateSchema = {