2021-02-13 14:15:59 +01:00
|
|
|
/// <reference path="../util/MongoBigInt.d.ts" />
|
|
|
|
import { Schema, Document } from "mongoose";
|
|
|
|
export interface Invite extends Document {
|
2021-02-05 22:01:01 +01:00
|
|
|
code: string;
|
2021-02-11 20:44:26 +01:00
|
|
|
temporary: boolean;
|
|
|
|
uses: number;
|
|
|
|
max_uses: number;
|
|
|
|
max_age: number;
|
2021-03-08 18:41:31 +01:00
|
|
|
created_at: Date;
|
2021-02-21 19:09:37 +01:00
|
|
|
guild_id: bigint;
|
|
|
|
channel_id: bigint;
|
|
|
|
inviter_id: bigint;
|
|
|
|
target_user_id?: bigint;
|
|
|
|
target_user_type?: number;
|
2021-02-05 22:01:01 +01:00
|
|
|
}
|
2021-02-13 14:15:59 +01:00
|
|
|
export declare const InviteSchema: Schema<Document<any>, import("mongoose").Model<Document<any>>, undefined>;
|
|
|
|
export declare const InviteModel: import("mongoose").Model<Invite>;
|