A Discord bot primarily used for a personal project.
Uses discord.py
.
Has various Granblue Fantasy-related commands.
pip install -r requirements.txt
You'll need a Postgres server set up for the twitter integration. It can just be a fresh postgres instance.
You'll also need jq
.
Create a secrets
folder and the following files within it:
discord_token.txt
twitter.ini
Populate discord_token.txt
with your Discord bot token.
export these environment variables:
SNSCRAPE_TWITTER_USERS
SNSCRAPE_DATABASE_DB
SNSCRAPE_DATABASE_HOST
SNSCRAPE_DATABASE_USERNAME
SNSCRAPE_DATABASE_PASSWORD
Then run scraper.sh
.
./runbot.sh config.ini
All command invocations log to stdout. Any tweets that come in also get logged into stdout as well.