Skip to content

rotembarsela/rbs-discord-bot

Repository files navigation

rbs-discord-bot

Node.js Version TypeScript Version Discord.js Version License

A Discord bot built with Node.js and TypeScript using the Discord.js library.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Node.js: Ensure you have Node.js 16 or higher installed. You can download it from nodejs.org.

Getting Started

  1. Clone this Repository:

    • Download or clone this repository to your local machine.
  2. Navigate to the Project Directory:

    • Open a terminal or command prompt.
    • Change your working directory to the location where you downloaded or cloned the project.
  3. Install Dependencies:

    • Run npm install to install project dependencies.
  4. Configure Bot Token:

    • Create a .env file.
    • Follow the .env.example file and replace the REPLACE_ME string with a correct one.

Usage

To run the bot, use the following command:

  • Start the Bot:
    • Run npm run dev to start the bot.

This will start the bot, and it will log in to your Discord server.

Development

During development, you can use the following commands:

  • Run with Auto-Reloading (using Nodemon):
    • Run npm run dev to run the bot with automatic reloading.

Discord.js Version

This project uses Discord.js version 14. Make sure to refer to the Discord.js documentation for library-specific details.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Releases

No releases published

Packages

No packages published