A lightweight and modular Discord bot designed to help manage your community server. Developed using JavaScript and the Discord.js library.
- Modular Command Handler: Easily add or remove commands in the
commands/directory. - Event Management: Automatic event handling via the
handlers/system. - Data Persistence: Built-in SQLite support for local data storage.
- Customizable: Simple configuration via a
botconfig.jsonfile.
-
Clone the repository:
git clone https://github.com/mavi/discord-bot.git -
Install dependencies:
npm install -
Configuration:
Update the
botconfig.jsonfile with your credentials:{ "token": "YOUR_BOT_TOKEN", "prefix": "!" } -
Start the bot:
node index.js
commands/- Bot command logic.handlers/- Command and event loaders.functions.js/- Utility functions.botconfig.json- Configuration settings.
This project is open-source and available for educational use.