How to fix MongoDB saving object under array and 0: “[object Object]”

I am trying to save a settings object in a document but it won’t save right.

Schema:

const guild = mongoose.Schema({
guildName: String,
guildId: String,
guildSettings: {type: [Object], blackbox: true },
guildBlacklists: Object,
});

Instead of saving the object it saves as:

guildSettings: Array
0: “[object Object]”