Skip to content

Latest commit

 

History

History
80 lines (49 loc) · 1.69 KB

readme.md

File metadata and controls

80 lines (49 loc) · 1.69 KB

Discord Broadcast Bot

A simple Discord bot for broadcasting messages to server members based on their online/offline status.

Features

  • Broadcast messages to all members.
  • Broadcast messages to online members.
  • Broadcast messages to offline members.

Prerequisites

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

Installation

  1. Clone the repository:

    git clone https://github.com/wickstudio/discord-broadcast-bot
  2. Navigate to the project folder :

    cd discord-broadcast-bot
  3. Install dependencies :

    npm install
  4. Configure the bot :

    • Create a config.json file based on the provided config.example.json.
    • Fill in your Discord Bot Token and the allowed role ID.
  5. Run the bot :

    node index.js

Usage

  • Invite the bot to your Discord server.
  • Ensure the bot has the necessary permissions and is assigned the allowed role.
  • Use the !bc command to initiate the broadcast.

Commands

  • !bc: Initiates the broadcast process.

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch.
  3. Make your changes and commit them.
  4. Push to your fork and submit a pull request.

License

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

Contact