Custom Discord Bot

Table of Contents

This is a list of all the sections in this post. Click on any of them to jump to that section.

Custom Discord Bot ๐Ÿค–

License: MIT

๐Ÿ“ Project Overview

Custom Discord Bot is a flexible and modular Discord bot built with JavaScript (Node.js) using discord.js.

This bot can be extended easily, supports configuration through environment variables, and is ideal for personal servers, communities, or learning bot development.


๐Ÿ› ๏ธ Features

โœ… Modular command system โœ… Easy configuration with environment variables โœ… Ready for hosting locally or on a server


๐Ÿ“ฆ Technologies Used

This bot is built using:

  • Node.js โ€” Runtime
  • discord.js โ€” Discord API wrapper
  • JavaScript (ES Modules) โ€” Code structure
  • dotenv โ€” Environment configuration

โš™๏ธ Setup & Installation

๐Ÿ“ฅ Clone the Repository

git clone https://github.com/Axel-cmd/Custom-Discord-Bot.git
cd Custom-Discord-Bot

๐Ÿ“Œ Install Dependencies

Make sure you have Node.js v16+ installed (required for discord.js v14+):

npm install

๐Ÿ” Configuration

Duplicate the example config:

cp .env.example .env

Open .env and fill in your values:

DISCORD_TOKEN=your_discord_bot_token
CLIENT_ID=your_bot_client_id
GUILD_ID=your_guild_id

๐Ÿš€ Running the Bot

๐Ÿงช Development Mode

npm run dev

๐ŸŒ Production Mode

node index.js

๐Ÿ“œ License

This project is licensed under the MIT License. Feel free to use, modify, and adapt the code for your own Discord server or community