From 7685e19835afdf0b403a676c16ada663ddcbc29d Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Tue, 6 Apr 2021 18:01:49 +0200 Subject: :art: Convert id bigint to string --- dist/models/Role.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dist/models/Role.js') diff --git a/dist/models/Role.js b/dist/models/Role.js index ed681849..86c06db9 100644 --- a/dist/models/Role.js +++ b/dist/models/Role.js @@ -7,8 +7,8 @@ exports.RoleModel = exports.RoleSchema = void 0; const mongoose_1 = require("mongoose"); const Database_1 = __importDefault(require("../util/Database")); exports.RoleSchema = new mongoose_1.Schema({ - id: mongoose_1.Types.Long, - guild_id: mongoose_1.Types.Long, + id: String, + guild_id: String, color: Number, hoist: Boolean, managed: Boolean, @@ -17,7 +17,7 @@ exports.RoleSchema = new mongoose_1.Schema({ permissions: mongoose_1.Types.Long, position: Number, tags: { - bot_id: mongoose_1.Types.Long, + bot_id: String, }, }); // @ts-ignore -- cgit 1.5.1