Mendowa Discord Bot is an advanced project designed to explore and deepen the understanding of JavaScript and Node.js while developing a feature-rich, interactive bot for Discord servers. This bot serves as both an educational tool and a highly customizable bot that can evolve with new features and functionalities.
The primary goal of this project is to showcase the potential of discord.js, Node.js, and API integrations, while also making the bot increasingly sophisticated and scalable. The bot can respond dynamically to user inputs, leverage external APIs for enhanced interactions, and handle complex logic that simulates human-like communication.
Mendowa serves as a fun, engaging assistant on Discord, responding with thoughtful, contextual, and humorous replies powered by OpenAI's GPT models (optional integration for more advanced behavior). By enabling you to explore key concepts in programming and bot development, this project provides a real-world use case for asynchronous programming, API usage, and real-time communication in JavaScript.
- Clone the repository:
git clone https://github.com/yourusername/Mendowa-Bot.git cd Mendowa-Bot
- Install dependencies:
TOKEN=your_discord_bot_token
- Set up environment variables: Create
.env
file in the root directory and add your Discord bot token:TOKEN=your_discord_bot_token
- Run the bot:
node index.js
- Interact with the bot:
- Send
Hello
in Discord channel to receive a greeting. - Send
Apakah aleg gila?
to get humorous response. - Use the
/emded
command to receive an embdded message.
- Send
- Greeting Message: Responds to
hello
with a personalized greeting. - Humorous Response: Responds to
Apakah aleg gila?
with a humorous reply. - Embedded Messages: Sends embedded messages using the
/embed
command.
- Environment Variables: Configure your bot token in the
.env
file. - Intents: Modify the intents in
index.js
to listen to different events.
- Fork the repository.
- Create a new branch/
git checkout -b feature/your-feature-name
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature/your-feature-name
- Open a pull request