Newer
Older
percord / dist / models / Role.d.ts
@Flam3rboy Flam3rboy on 13 Feb 2021 523 bytes :zap: Config and database update
/// <reference path="../util/MongoBigInt.d.ts" />
import { Schema, Document } from "mongoose";
export interface Role extends Document {
    id: bigint;
    color: number;
    hoist: boolean;
    managed: boolean;
    mentionable: boolean;
    name: string;
    permissions: bigint;
    position: number;
    tags?: {
        bot_id?: bigint;
    };
}
export declare const RoleSchema: Schema<Document<any>, import("mongoose").Model<Document<any>>, undefined>;
export declare const RoleModel: import("mongoose").Model<Role>;