Discord Ban Utilities for Mutual Servers!
Invite Link - click here
Join my server - https://discord.gg/MPtE9zsBs5
This bot project was inspired by the project here
With v2.4, the bot now comes with logging feature with firebase integration & custom events. So to setup logging follow these steps:
- Create a Firebase project.
- Go to project settings
- In Firebase Admin SDK section, click on
Node.js
& finally onGenerate new private key
. - Copy this private key (i.e. the json file which gets downloaded) into
./firebase-service-acc/
For more info check here
- Clone this repo.
- Add Firebase private key
- Create a file named
.env
& put the given text -
DISCORD_TOKEN = insert bot token
You can also copy sample.env
file and rename it to .env
.
- Install dependencies by using
npm install
. - Use
npm start
to run the bot code.
For more info click here & here
Or Use Docker to start:
docker compose up -d --build ban-utils-bot
Incase there is no way to upload firebase service account key:
# Put respective details from the firebase service account file here if firebase key cannot be uploaded
FIREBASE_CLIENT_EMAIL=
FIREBASE_PRIVATE_KEY=
FIREBASE_PROJECT_ID=
Or use base64 encoder using
npm run firekeybase64
And then use the generated value below:
# Put base64 encoded version of the firebase service account file here if above method doesn't work
FIREBASE_SERVICE_ACCOUNT_BASE64=
Feel free to make your own improved version of the bot!