Discord bot that helps you manage fresh and relevant tweets from Twitter, where you can choose to retweet them or not. Empowers the Daily World Trigger account.
This bot is still on testing phase, please do not clone it yet.
To get this bot up and running, you'll need:
- A running discord server.
- A Discord's developer account. Get one from here
- A Twitter developer account. Get one from here
- A Twitter account which your retweets will be sent from.
- A MongoDB server. For development purposes, it'll be handled using a Docker image.
Make sure that you have invited your bot!
- Clone this repository.
- Create a new
.env
file in the project's root directory, use.env.example
as a reference. - Make sure that you have started your local docker instance.
- Activate
docker-compose
, which can be done by executingdocker-compose up
from your terminal - Do a database migration by executing
npm run migration:up
from your terminal. - After the migration is complete, run the bot by executing
npm run dev
from your terminal, the bot should appear to be online on your server.
The bot can be configured from bot.config.json
on the project's root directory. Below is the list of available options:
TO BE DOCUMENTED LATER
By default, the bot creates a log about all of its important activities on bot.log
in the project's root directory. The logging is powered by pino, so performance shouldn't be an issue.
This project is licensed under the MIT license