const mongoose = require('mongoose'); let workSchema = new mongoose.Schema({ _id: mongoose.Types.ObjectId, lastEdited: String, guildID: String, userID: String, cooldown: { type: String, default: "No" }, }); module.exports = mongoose.model('Work Collection' /*<- The name of the collection*/ , workSchema /* <- Passing thru the schema*/)