2024-06-29 15:07:14 +02:00
2024-06-29 15:07:14 +02:00
2024-06-29 15:07:14 +02:00
2024-06-29 15:07:14 +02:00
2024-06-29 15:07:14 +02:00
2024-06-29 15:07:14 +02:00
2024-06-29 15:07:14 +02:00
2024-06-29 15:07:14 +02:00
2024-06-29 15:07:14 +02:00
2024-06-29 15:07:14 +02:00
2024-06-29 15:07:14 +02:00
2024-06-29 15:07:14 +02:00
2024-06-29 15:07:14 +02:00
2024-06-29 15:07:14 +02:00

Discord.js Bot

GitHub repo size GitHub contributors GitHub stars GitHub forks GitHub license

An advanced Discord bot designed to offer a wide range of interactive and management features for online communities.


Table of Contents


Installation

To get started with discord.js-bot, follow these steps:

  1. Clone the repository:

    git clone https://github.com/arthur-pbty/discord.js-bot.git
    cd discord.js-bot
    
  2. Install dependencies:

    npm install
    
  3. Set up environment variables:

    • Create a .env file in the root directory.

    • Add your Discord bot token:

      TOKEN=your_discord_bot_token_here
      

Usage

Development Mode

Start the bot with automatic restart using nodemon:

npm run dev

Production Mode

Build and start the bot:

npm start

Deploy Commands

Update Discord bot commands (slash commands):

npm run deploy

Commands

  • npm run build: Compile TypeScript to JavaScript.
  • npm run prettier: Format code using Prettier.
  • npm run prettier-check: Check code formatting without modification.

Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.


Contact

Arthur PBTY - GitHub

Project Link: https://github.com/arthur-pbty/discord.js-bot

S
Description
An advanced Discord bot designed to offer a wide range of interactive and management features for online communities.
Readme MIT 57 KiB
Languages
JavaScript 100%