- Level counting: you get a random xp value between 15 and 40, at an interval of 300 seconds, meaning if you spam in that interval it won't matter.
- Block/unblock command to remove verbose from specific channels.
- Python 3
- Discord py
First of all, you need to create a "auth.py" file in the main directory. The file needs to contain a variable called BOT_TOKEN.
Eg: BOT_TOKEN = "wzc02uaFw2SC9u1aMhaJ5RQP.DIqchQ.fir6VJJ4zO1cCNeLnvNMKwW9yCY"
Next, you'll need to set yourself permission to use the bot's commands like !block or !unblock, to do that you simply create a file called "rights.json". Syntax:
[
{
"owner":["id1", "id2"],
"admin":["id3", "id4"],
"helper":["id5", "id6"]
}
]
Note: Currently the admin and helper ranks are not in use meaning you should set yourself to be a owner so you'll have the higher permission.
Now, believe it or not, the setup is complete!
To start the bot, open a command terminal in the directory of the charno.py file and simply write python charno.py
(or python3 charno.py
, depending on your python setup)