npm i discord.js
ORyarn install discord.js
npm i mongoose
ORyarn install mongoose
- 1.Install all the dependencies.
- 2.Copy the command files into your command folder.
- 3.Copy the Event files into your event folder.
- 4.Copy The Schema file into your schema folder.
- 5.Replace the channelID in the Command/Suggest File
client.channels.cache.get("here")
- 6.Replace the channel link in Command/Suggest file
- 7.Try the commands!
be sure to add this to your ready.js file.
// Add this to the top of the file
const { connect } = require('mongoose')
// Add this to your ready.js file
await connect(MONGO_URI)
.then(() => {
console.log(`✅ >>> Successfully connected to MongoDB!`);
})
.catch((err) => {
console.log(err);
});
Contributions are always welcome!
- Button Handler by RoaldDahl
MidNight Bot