pip install discord httpx pillow firebase_admin
Place firebase credentials into the cogs directory under the name creds
Expected layout -> cpgs/creds.json
The file should look like:
{
"type": "service_account",
"project_id": "",
"private_key_id": "",
"private_key": "",
"client_email": "",
"client_id": "",
"auth_uri": "",
"token_uri": "",
"auth_provider_x509_cert_url": "",
"client_x509_cert_url": "",
"universe_domain": ""
}
Add file config.py
into root directory.
This should contain:
TOKEN = '' #bot token
BACKEND_URL = ''
GUILD_ID =
CHANNEL_ID =
NOTIFICATIONS_CHANNEL_ID =
FIREBASE_CREDENTIALS_PATH = './cogs/creds.json'
pm2 start start_bot.sh --name discord-bot
Made by @longtimeno-c