Skip to content

m7rlin/DiscordBot

Repository files navigation

👋 Welcome to DiscordBot Tutorial Repository

This repository contains a tutorial series on how to create a Discord bot using NodeJS and Discord.JS library. The tutorial is designed for beginners who are interested in building a Discord bot and want to learn more about the process.

🚀 Features

This series covers the following topics:

  • Basic setup and installation of NodeJS and Discord.JS library.
  • Creating a Discord bot and setting up a bot token.
  • Responding to commands and messages.
  • Handling events and errors.
  • Advanced features like embeds, reactions, and more.

📋 Prerequisites

Before you begin, make sure you have the following:

  • Basic understanding of JavaScript.
  • Basic knowledge of NodeJS and NPM.
  • A Discord account and a server where you have permission to create a bot.

🛠️ Installation

To get started, follow these steps:

  1. Clone this repository to your local machine.
  2. Install NodeJS and IDE (like VSCode) if you haven't already.
  3. Install dependencies by running npm install in the terminal.
  4. Create a new Discord bot and get a token.
  5. Set up your bot token in a .env file or system environment variable.
  6. Run the bot with node src/index.js or npm run dev.

🔧 Configuration

To configure your bot, you can modify the src/config.js file included in the repository. This file includes settings for your bot prefix, status, and more. You can also add your own configuration settings as needed.

📖 Tutorial

The tutorial series is available on the M7rlin YouTube channel. The tutorial is designed to be followed in order, starting with the basics and gradually building up to more advanced features.

💰 Support

This tutorial series is completely free to use and learn from. However, if you find it useful and would like to support the creator, you can do so by donating via PayPal or Buymeacoffe.

👨‍💻 Contributors

This tutorial series was created by M7rlin, with contributions from the Discord.JS community.

📄 License

© 2023-PRESENT Marcin Stawowczyk

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.