https://github.com/khanmanan/discord-bot-2025
https://github.com/khanmanan/discord-bot-2025
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/khanmanan/discord-bot-2025
- Owner: Khanmanan
- License: apache-2.0
- Created: 2025-02-20T16:35:11.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-02-20T16:37:32.000Z (2 months ago)
- Last Synced: 2025-02-20T17:38:45.160Z (2 months ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# My Advanced Discord Bot
This is an advanced Discord bot framework built with JavaScript. It includes:
- Command handler framework
- Event handler system
- Support for slash commands and buttons
- Integration with MongoDB
- Configurable logging system## Installation
1. Clone the repository:
```bash
git clone https://github.com/khanmanan/discord-bot-2025.git
```2. Navigate into the project directory:
```bash
cd my-discord-bot-package
```3. Install dependencies:
```bash
npm install
```4. Set up your environment variables in `.env` file:
```
TOKEN=your-bot-token-here
MONGODB_URI=your-mongodb-uri-here
```## Usage
To start the bot, run:
```bash
npm start
```## Folder Structure
- **src**: Contains all source code.
- **handlers**: Handles commands and events.
- **commands**: Stores individual command files.
- **events**: Stores individual event files.
- **utils**: Utility modules such as database connection and logger.
- **.env**: Stores environment variables.
- **package.json**: Configuration file with dependencies and scripts.## License
MIT License