A simple bot that automatically announces messages in an announcement channel and maintains a queue if rate limited after 10 messages in an hour.
- Automatic message announcements
- Rate limiting with queue management
- Easy configuration
- Clone the repository:
git clone https://github.com/trucky/trucky-announcer-bot.git
- Navigate to the project directory:
cd trucky-announcer-bot
- Install dependencies:
npm install
- Start the bot:
npm start
- The bot will automatically announce messages in the configured announcement channel.
- Create an .env file to set up your bot token and announcement channel ID.
- Example
.env
:DISCORD_TOKEN=<your token> CHANNEL_ID=<announcement channel id>
- Build and run the Docker Compose services:
docker-compose up --build
- Build the Docker image:
docker build -t trucky-announcer-bot .
- Run the Docker container:
docker run --env-file .env trucky-announcer-bot
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.
This project is licensed under the MIT License.