This bot allows you to level up based on the time you spend in a vocal channel and how much you write in a text channel
If you don't need/want to host and set it up on your own you can add your bot to your server clicking here: Invite
You need to add the prefix !
before the command e.g: !rank
.
- stats - It shows you your stats (e.g. rank, time spent in a vc..).
- github - It shows you the github repo link.
- help - It shows you all the commands and how to use them.
- setPrefix - It allows you to set a new prefix for your server (the default one is !).
- setNotificationChannel - It allows you to set a new text channel where the notification will be sent.
- setRank - It allows you to set a custom role for each level.
- setwelcomechannel - It allows you to set a channel to get the welcome messages for new users.
- setwelcome - You can set a custom welcome message.
and much more...
Install the dependencies
$ npm i
Create an .ENV
file and replace *TOKEN*
with the token.
You can take the token from discord developers page > Bot
Follow the firebase guide below for firebase configuration instead
$ TOKEN="*TOKEN*"
Start the bot
$ npm start
The repo has 2 versions (two branch) the
master
rely on firebase andmongodbVersion
that rely on mongodb, follow the right configuration based on the database you use. the master is the branch supported, mongodb be in the future could be outdated and not supported anymore
-
The only configurations are the prefix and the minutes in the
config.json
.The
minutes
are the minutes for wich every time the bot level up you (i.g: by default the bot update your rank every hour for the time-based system).
{
"prefix": "!",
"minutes": 60
}
Create a firebase account and insert into .ENV
the following data
apiKey="APITOKEN"
authDomain="AUTHDOMAIN
databaseURL="DATABASEURL"
projectId="PROJECTID"
storageBucket="STORAGEBUCKET"
messagingSenderId="MESSAGESENDERID"
appId="APPID"
measurementId="MEASUREMENTID" // this should be optional
If you want to be an active contributor join the discord server here
- If you want to support the me and the discord development consider voting the bot here and donating:
- Gianmarco Cavallo (ladvace) - Github Profile