Nexlogo

NEXOS CREATION

Discord Bot Starter Template - Build Scalable Bots

Create a modular, scalable Discord bot with ease using this starter template built on Discord.js.

Discord Bot Starter Template ๐Ÿš€

Welcome to the Discord Bot Starter Template! This project serves as a foundation for building feature-rich and scalable Discord bots using the Discord.js library. It incorporates modular design, dynamic command loading, error handling, and best practices to streamline bot development.

๐ŸŒŸ Features

  • โœจ Modular Command System: Add or edit commands with ease.
    • Slash Commands: /help, /ping, /info, etc.
    • Prefix Commands: !help, !ping.
    • Moderation Tools: Ban, Mute, Timeout, Warn.
    • Fun Commands: Generate jokes and more.
  • โš™๏ธ Event Handling: Built-in support for Discord events and custom events.
  • ๐Ÿ“œ Configuration Management: Easy setup with .env or JSON config files.
  • ๐Ÿ“ก API Integrations: GitHub, RSS feeds, and more.
  • ๐Ÿ› ๏ธ Utility Functions: Includes logging, embed creation, and error handling.
  • ๐Ÿ’พ Database Support: Integrates easily with MongoDB.
  • ๐Ÿ”’ Secure and Scalable: Follows best practices for security and scalability.

๐Ÿš€ Getting Started

๐Ÿ“‚ Prerequisites

๐Ÿ› ๏ธ Installation

  1. Clone the repository:
git clone https://github.com/nexoscreation/discord-bot-template.git
cd discord-bot-template
  1. Install dependencies:
npm install
  1. Configure environment variables:
DISCORD_BOT_TOKEN=
DISCORD_BOT_PREFIX=!
DISCORD_BOT_CLIENT_ID=
DISCORD_BOT_CLIENT_SECRET=
DISCORD_GUILD_ID=

๐Ÿ“œ Usage

To start the bot in production:

npm run bot:start

For development with hot reload:

npm run dev

๐Ÿ“œ Available Commands

  • /ping: Responds with "Pong!"
  • /github user: Fetches GitHub user data
  • /ban [user]: Bans a user (requires permissions)

๐Ÿค Contributing

  1. Fork the repository.
  2. Create a feature branch.
  3. Make your changes.
  4. Submit a pull request.

๐Ÿ›ก๏ธ License

MIT License. See the LICENSE file for details.

๐Ÿ’ฌ Support


Made with โค๏ธ by the Discord Bot Team

โญ Star us on GitHub!