Skip to content

Commit

Permalink
add starboards data to guild model
Browse files Browse the repository at this point in the history
  • Loading branch information
Tegnio committed May 28, 2021
1 parent e38829e commit 234d8d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions models/Guild.model.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ const guildSchema = new Schema({
disabled_commands: { type: Array, default: [] },
locale: { type: String, default: "en_gb" },
ignored_channels: { type: Array, default: [] },
starboards_data: {
type: Object,
default: { enabled: false, channel_id: null, emoji: "⭐" },
},
});

module.exports = model("Guild", guildSchema);

0 comments on commit 234d8d5

Please sign in to comment.