Properties
Optional
giveawayEntriesModel
giveawayEntriesModel?: Model<{
chance: number;
createdAt: Date;
giveawayId: string;
id: string;
userId: string;
}, {}, {}, {}, Document<unknown, {}, {
chance: number;
createdAt: Date;
giveawayId: string;
id: string;
userId: string;
}> & {
chance: number;
createdAt: Date;
giveawayId: string;
id: string;
userId: string;
} & {
_id: ObjectId;
}, any>
Type declaration
chance: number
createdAt: Date
giveawayId: string
id: string
userId: string
Optional
giveawaysModel
giveawaysModel?: Model<{
channelId: string;
createdAt: Date;
description: undefined | null | string;
dueDate: Date;
ended: boolean;
guildId: string;
hostId: undefined | null | string;
id: string;
messageId: string;
name: string;
paused: boolean;
remaining: undefined | null | number;
riggedUsersId: undefined | null | string[];
winnerCount: number;
winnersEntryId: string[];
}, {}, {}, {}, Document<unknown, {}, {
channelId: string;
createdAt: Date;
description: undefined | null | string;
dueDate: Date;
ended: boolean;
guildId: string;
hostId: undefined | null | string;
id: string;
messageId: string;
name: string;
paused: boolean;
remaining: undefined | null | number;
riggedUsersId: undefined | null | string[];
winnerCount: number;
winnersEntryId: string[];
}> & {
channelId: string;
createdAt: Date;
description: undefined | null | string;
dueDate: Date;
ended: boolean;
guildId: string;
hostId: undefined | null | string;
id: string;
messageId: string;
name: string;
paused: boolean;
remaining: undefined | null | number;
riggedUsersId: undefined | null | string[];
winnerCount: number;
winnersEntryId: string[];
} & {
_id: ObjectId;
}, any>
Type declaration
channelId: string
createdAt: Date
description: undefined | null | string
dueDate: Date
ended: boolean
guildId: string
hostId: undefined | null | string
id: string
messageId: string
name: string
paused: boolean
remaining: undefined | null | number
riggedUsersId: undefined | null | string[]
winnerCount: number
winnersEntryId: string[]
mongooseConnection
mongooseConnection: string | __module