This project presents a primitive roll bot for discord. With this bot, you can get a random number on your discord server. You can use this project as a module that complements the functionality of your bot. The Roll is a roll of virtual dice in a situation when it is necessary to determine the winner.
- Download the project.
- Install requirements;
- Paste your Discord bot TOKEN in file project/bot.py.
Edit last string:
client.run('TOKEN')
For example:client.run('BhewrweMDI7jsL3.KsGxSA.bgwfrkWbq168IZqdsfdsvdf')
- Use the project.
To install the requirements, use the console!
pip install discord.py
$help
- Documentation;$roll
- Get a random integer from 1 to 100;$roll x
- Get a random integer from 1 to ั , where x is the set number. For example: $roll 200 - getting a random number from 1 to 200.
The project is distributed under the GNU GPLv3 license.