A simple Discord bot for broadcasting messages to server members based on their online/offline status.
- Broadcast messages to all members.
- Broadcast messages to online members.
- Broadcast messages to offline members.
Before you begin, ensure you have met the following requirements :
- Node.js installed
- Discord Bot Token (get it from Discord Developer Portal)
-
Clone the repository:
git clone https://github.com/wickstudio/discord-broadcast-bot
-
Navigate to the project folder :
cd discord-broadcast-bot
-
Install dependencies :
npm install
-
Configure the bot :
- Create a
config.json
file based on the providedconfig.example.json
. - Fill in your Discord Bot Token and the allowed role ID.
- Create a
-
Run the bot :
node index.js
- 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.
!bc
: Initiates the broadcast process.
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch.
- Make your changes and commit them.
- Push to your fork and submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
-
Email : wick@wick-studio.com
-
Website : https://wickdev.xyz
-
Discord : https://discord.gg/wicks
-
Youtube : https://www.youtube.com/@wick_studio