This is a Discord bot that includes various moderation tools and commands specific to Playbite. The bot is built using Discord.js and MongoDB.
- Run
yarn installto install all necessary dependencies. - Run
yarn devto start the bot. - To register the commands created, run
yarn deploy:commands
The bot requires the following environment variables to be set:
DISCORD_TOKEN: Discord API token used to authenticate the botCLIENT_ID: Discord client ID for the botGUILD_ID: (Optional) Guild ID for local developmentBASE_API_URL: Base URL for the API used by the botMONODB_URL: URL for the MongoDB database used by the bot
Make sure to set these variables in a .env file or in your environment before running the bot.
- Fork the repository and clone it to your local machine.
- Create a new branch for your changes.
- Make the necessary changes and test them thoroughly.
- Commit your changes and push them to your fork.
- Create a pull request to the main repository, describing the changes you made.
- Wait for the changes to be reviewed and merged.
Please make sure to follow the existing code style and to add proper documentation for any new code.
If you have any questions or suggestions, please open an issue or contact the maintainers directly.