2021-02-13 14:15:59 +01:00
|
|
|
/// <reference path="../util/MongoBigInt.d.ts" />
|
|
|
|
import { Schema, Document } from "mongoose";
|
2021-02-14 20:41:40 +01:00
|
|
|
export interface Role {
|
2021-02-10 20:59:58 +01:00
|
|
|
id: bigint;
|
2021-02-13 23:57:02 +01:00
|
|
|
guild_id: bigint;
|
2021-02-05 22:01:01 +01:00
|
|
|
color: number;
|
|
|
|
hoist: boolean;
|
|
|
|
managed: boolean;
|
|
|
|
mentionable: boolean;
|
|
|
|
name: string;
|
|
|
|
permissions: bigint;
|
|
|
|
position: number;
|
2021-02-10 20:59:58 +01:00
|
|
|
tags?: {
|
|
|
|
bot_id?: bigint;
|
|
|
|
};
|
2021-02-05 22:01:01 +01:00
|
|
|
}
|
2021-02-14 20:41:40 +01:00
|
|
|
export interface RoleDocument extends Document, Role {
|
|
|
|
id: bigint;
|
|
|
|
}
|
2021-02-13 14:15:59 +01:00
|
|
|
export declare const RoleSchema: Schema<Document<any>, import("mongoose").Model<Document<any>>, undefined>;
|
2021-02-14 20:41:40 +01:00
|
|
|
export declare const RoleModel: import("mongoose").Model<RoleDocument>;
|