Skip to content

The wiseMan bot allows you to level up based on the time you spend in a vocal channel

License

Notifications You must be signed in to change notification settings

Ladvace/WiseMan-DiscordBot

Repository files navigation

WiseMan

WiseMan - Discord Bot 🤖

forthebadge forthebadge forthebadge forthebadge

⚠️ The current bot is not supported anymore, I reccomand using github.com/fulviodenza/rankore ⚠️

The current maintened brench is mongodbVersion



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

Commands 🎨

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...

Steps ▶️

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 and mongodbVersion 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

Configuration ⚙️

  • 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
}

Firebase 🔥

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

Support 💻

If you want to be an active contributor join the discord server here

Donation 💰

  • If you want to support the me and the discord development consider voting the bot here and donating:

Donate

Authors ❤️

If you have any problems or question open an issue or feel free to contact me! 🔧😃