Skip to content

Commit

Permalink
fix: update mongodb model
Browse files Browse the repository at this point in the history
  • Loading branch information
mezotv committed Oct 26, 2024
1 parent 3d85523 commit 469f521
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/commands/game/topic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ const command: ChatInputCommand = {
embeds: [ratherEmbed],
components: [mainRow],
};

interaction.reply(classicData).catch((err: Error) => {
captureException(err);
});
Expand Down
5 changes: 5 additions & 0 deletions src/util/Models/guildModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export interface IGuildModel {
classicMode: boolean;
autoPin: boolean;
premium: number;
pending: boolean;
premiumExpiration: Date | null;
premiumUser: string | null;
webhookName: string;
Expand Down Expand Up @@ -160,6 +161,10 @@ const guildProfileSchema = new Schema<IGuildModel>(
type: Number,
default: 0,
},
pending: {
type: Boolean,
default: false,
},
premiumExpiration: {
type: Date,
},
Expand Down

0 comments on commit 469f521

Please sign in to comment.