UNPKG

cdcommands

Version:

An advanced handler for Discord.js Bots with TypeScript and JavaScript support.

10 lines (7 loc) 304 B
const { Schema, model } = require("mongoose"); const disabledCommands = new Schema({ gId: { type: String, required: true }, commands: { type: [String], required: false }, categories: { type: [String], required: false }, }); module.exports = model("disabled-commands", disabledCommands);