Make sure you have the following installed:
-
Clone the repository:
git clone https://github.com/yourusername/DobbyBot.git cd DobbyBot
-
Install the dependencies:
npm install
-
Create a
.env
file in the root directory of the project:touch .env
-
Add your Discord bot token and client ID to the
.env
file:TOKEN=your-discord-bot-token CLIENT_ID=your-discord-client-id
Start the bot using the following command:
node index.js
Once the bot is running, you can invite it to your Discord server using the client ID and start interacting with it.
Feel free to fork this repository and submit pull requests. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.
- Discord.js - A powerful JavaScript library for interacting with the Discord API
- dotenv - A zero-dependency module that loads environment variables from a
.env
file