summary refs log tree commit diff
path: root/dist/models/Guild.js
diff options
context:
space:
mode:
Diffstat (limited to 'dist/models/Guild.js')
-rw-r--r--dist/models/Guild.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/dist/models/Guild.js b/dist/models/Guild.js

index 6a8adfc5..fa87d542 100644 --- a/dist/models/Guild.js +++ b/dist/models/Guild.js
@@ -11,10 +11,10 @@ const Emoji_1 = require("./Emoji"); const Member_1 = require("./Member"); const Role_1 = require("./Role"); exports.GuildSchema = new mongoose_1.Schema({ - id: { type: mongoose_1.Types.Long, required: true }, - afk_channel_id: mongoose_1.Types.Long, + id: { type: String, required: true }, + afk_channel_id: String, afk_timeout: Number, - application_id: mongoose_1.Types.Long, + application_id: String, banner: String, default_message_notifications: Number, description: String, @@ -30,22 +30,22 @@ exports.GuildSchema = new mongoose_1.Schema({ presence_count: Number, mfa_level: Number, name: { type: String, required: true }, - owner_id: { type: mongoose_1.Types.Long, required: true }, + owner_id: { type: String, required: true }, preferred_locale: String, premium_subscription_count: Number, premium_tier: Number, - public_updates_channel_id: mongoose_1.Types.Long, + public_updates_channel_id: String, region: String, - rules_channel_id: mongoose_1.Types.Long, + rules_channel_id: String, splash: String, system_channel_flags: Number, - system_channel_id: mongoose_1.Types.Long, + system_channel_id: String, unavailable: Boolean, vanity_url_code: String, verification_level: Number, voice_states: { type: [Object], default: [] }, welcome_screen: { type: [Object], default: [] }, - widget_channel_id: mongoose_1.Types.Long, + widget_channel_id: String, widget_enabled: Boolean, }); exports.GuildSchema.virtual("channels", {