Constructors
constructor
- new BannedUser(client, data): BannedUser
-
Parameters
-
-
data: {
_id: string;
avatar?: null | {
_id: string;
content_type: string;
deleted?: null | boolean;
filename: string;
message_id?: null | string;
metadata: {
type: "File";
} | {
type: "Text";
} | {
height: number;
type: "Image";
width: number;
} | {
height: number;
type: "Video";
width: number;
} | {
type: "Audio";
};
object_id?: null | string;
reported?: null | boolean;
server_id?: null | string;
size: number;
tag: string;
user_id?: null | string;
};
discriminator: string;
username: string;
}
-
_id: string
-
Optional
avatar?: null | {
_id: string;
content_type: string;
deleted?: null | boolean;
filename: string;
message_id?: null | string;
metadata: {
type: "File";
} | {
type: "Text";
} | {
height: number;
type: "Image";
width: number;
} | {
height: number;
type: "Video";
width: number;
} | {
type: "Audio";
};
object_id?: null | string;
reported?: null | boolean;
server_id?: null | string;
size: number;
tag: string;
user_id?: null | string;
}
-
discriminator: string
-
username: string
Properties
Readonly
discriminator
discriminator: string
Readonly
username
username: string
Banned User