This system allows you to greet members when they join your server, full multi guild setup with add, remove, and replace channel commands!
- Added leave messages thanks to Ducko#7068 on discord.
- Fixed some
Unkown Interaction
errors.
mongoose =>
npm i mongoose
chalk =>npm i chalk@4.1.2
dotenv =>npm i dotenv
- Place the commands into your commands folder.
- Place the events in your events folder.
- Create a new folder in the bot root direcatory and name it "schemas", and than place the schema in there.
- Change all the paths to the right ones if needed.
be sure to add this to your ready.js file.
// Add this to the top of the file
const { connect } = require('mongoose')
const chalk = require("chalk")
// Add this to your ready.js file
await connect(MONGO_URI)
.then(() => {
console.log(chalk.yellow(`✅ >>> Successfully connected to MongoDB!`));
})
.catch((err) => {
console.log(err);
});
if you want to contribute create a fork of this project and when you are done editing it update the fork and create a pull request.
- by Ducko#7068: https://github.com/DuckoDas/djs-welcome-system