MokokoBot is a multipurpose discord bot written in discord.py library. For now the commands are limited, but in future i will add more. I am creating the bot, because I want to try new programming language - Python. To check the existing commands and future commits please navigate to the dev branch.
The bot must have the following permissions to function properly: Manage Roles, Kick Members, Ban Members, Read Messages,
Send Messages, Manage Messages, Read Message History.
!kick @member [reason] -> Kick member from the guild.
!ban @member [reason] -> Ban member from the guild.
!unban @member [reason] -> Unban member from the guild.
!setprefix [new prefix] -> Set the prefix to whatever you want.
!clear [number of messages] -> Clear number of message.
!ping -> Ping!
To run the bot you need to install Python. Then you need to install discord.py:
pip install discord.pyAlso you need to install PostgreSQL. Create table in the database called Guilds (you can see the required fields in the Project Development section). Then run the command:
python bot.pyMokokoBot has 1 table in the database called Guilds:
| Field Name | Data Type | Description |
|---|---|---|
| guild_id | Text | Server ID |
| prefix | Text | Server Prefix |
The following programming languages were used for the development of the project:
- Python - v3.11.1
- PostgreSQL - v6.15
And the following libraries:
- discord.py - v3.7.4
And the following tools:
- PyCharm - 2022 v3.2