diff --git a/base/Guild.js b/base/Guild.js new file mode 100644 index 0000000..59fbe24 --- /dev/null +++ b/base/Guild.js @@ -0,0 +1,9 @@ +const mongoose = require("mongoose"), +Schema = mongoose.Schema, +config = require("../config.json"); + +module.exports = mongoose.model("Guild", new Schema({ + id: { type: String }, + registeredAt: { type: Number, default: Date.now() }, + prefix: { type: String, default: config.prefix }, +}));