Plugin : MongoDb
About
Bring the modmail bot to the next level with the help of mongoose using MongoDb.
Usage
Modmail({
...
category: 'THREAD_CATEGORY_ID',
roleID: 'MODMAIL_STAFF_ID',
plugins: [{
mongodb: 'MONGODB://URL', // MongoDB URI
}]
})
Setup
- Create A MongoDB Account If You Haven’t Already / Or Use Local
- Create A Cluster And Get A Database URI / Or Use Local
- Replace
MONGODB://URLWith Your Database URI,THREAT_CATEGORY_IDWith A Modmail Category ID AndMODMAIL_STAFF_IDWith Modmail Staff Role ID.
Guide
Here’s A List Of Commands That Will Be Added If This Plugin Was Enabled
* <PREFIX>delete - Delete/Close A Threat Channel
The Bot Will Create A New Channel In The Modmail Category Everytime A User Messages The Bot, And That Channel Can Only Be Used To Interact With The User. Modmail Staff Can Reply To The User In The Threat Channel Without Having To Run The Reply Command. Use <PREFIX>delete When You Feel Like Its Time To Close The Threat.
Note
- The Plugin ReplyToReply Will Not Work If This Plugin Is Enable Since Its Not Necessary.
- This Plugin Will Create A Seperate Channel For Each User That Interacts With The Bot.