diff --git a/DevBot V1/models/note.js b/DevBot V1/models/note.js new file mode 100644 index 0000000..0d31540 --- /dev/null +++ b/DevBot V1/models/note.js @@ -0,0 +1,12 @@ +const mongoose = require("mongoose"); + +const notedbSchema = mongoose.Schema({ + + _id: mongoose.Schema.Types.ObjectId, + userID: String, + modID: String, + note: String + +}); + +module.exports = mongoose.model("notedb", notedbSchema) diff --git a/DevBot V1/models/punishment.js b/DevBot V1/models/punishment.js new file mode 100644 index 0000000..40a43e5 --- /dev/null +++ b/DevBot V1/models/punishment.js @@ -0,0 +1,14 @@ +// This will be used by bans, mutes and kicks to make it easier. punishment type will be stated in "type" +const mongoose = require("mongoose"); + +const punishmentdbSchema = mongoose.Schema({ + + _id: mongoose.Schema.Types.ObjectId, + type: String, + userID: String, + modID: String, + reason: String + +}); + +module.exports = mongoose.model("punishmentdb", punishmentdbSchema) diff --git a/DevBot V1/models/warn.js b/DevBot V1/models/warn.js new file mode 100644 index 0000000..4d30bae --- /dev/null +++ b/DevBot V1/models/warn.js @@ -0,0 +1,12 @@ +const mongoose = require("mongoose"); + +const warndbSchema = mongoose.Schema({ + + _id: mongoose.Schema.Types.ObjectId, + userID: String, + modID: String, + reason: String + +}); + +module.exports = mongoose.model("warndb", warndbSchema)