Lanbot_Music_V12/models/role.js
2022-01-04 01:35:59 +00:00

15 lines
373 B
JavaScript

const mongoose = require("mongoose");
const { DEFAULTSETTINGS: defaults } = require("../config");
const roleSchema = mongoose.Schema({
_id: mongoose.Schema.Types.ObjectId,
guildID: String,
guildName: String,
roleID: {
"type": String,
"default": defaults.role
}
});
module.exports = mongoose.model("Role", roleSchema);