diff --git a/README.md b/README.md index 7e39eb0..8590c30 100644 --- a/README.md +++ b/README.md @@ -7,3 +7,5 @@ To setup the bot, insert all values into the `config.json` file located in `/set We have partnered with [ScarceHost.uk](https://cp.scarcehost.uk) to provide a custom pterodactyl egg for installing your own custom instance. The public bot inviteable [here](https://discord.gg/AMCTzrmRPY) and will receive updates and bug fixes prior to this source code to ensure stability. + +Join our [Support Server](https://discord.gg/AMCTzrmRPY) diff --git a/models/prefix.js b/models/prefix.js new file mode 100644 index 0000000..88cfd27 --- /dev/null +++ b/models/prefix.js @@ -0,0 +1,15 @@ +const mongoose = require('mongoose'); + + const PrefixScheme = new mongoose.Schema({ + GUILDID: { + type: String, + required: true + }, + PREFIX: { + type: String, + required: true + } + }); + + const prefix = mongoose.model('prefix', PrefixScheme); + module.exports = prefix;