Dobby is a Discord bot developed for the Website Making Challenge. It's designed to manage and facilitate the challenge, providing a range of features from welcoming new members to tracking user levels and progress.
- Welcome Messages: Dobby greets new members and provides them with essential information. See
welcome.js
. - Role Assignment: Dobby can assign roles to users based on their preferred problem statement. See
roleAssignment.js
. - Level Tracking: Dobby tracks the XP and levels of users. See
level.js
. - Progress Updates: Dobby can receive and process updates on the progress of participants. See
progress.js
.
- Clone the repository.
- Install the dependencies with
npm install
. - Create a
.env
file and set your environment variables as follows:TOKEN
: Your Discord bot token.apiURL
: The API URL for external requests.CLIENT_ID
: Your Discord bot's client ID.DAILYPROGRESS_CHANNEL_ID
: The channel ID for daily progress updates.GUILD_ID
: Your Discord server's guild ID.MENTOR_ROLE_ID
: The role ID for mentors in your server.MONGODB_URI
: Your MongoDB connection string.NODE_VERSION
: The version of Node.js you are using.REGISTRATION_CHANNEL_ID
: The channel ID for new registrations.STATUS_CHANNEL_ID
: The channel ID for bot status updates.
- Run the bot with
node src/app.js
.
Contributions are welcome. Please open an issue or submit a pull request.
This project is licensed under the ISC License.