Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 2.49 KB

README.md

File metadata and controls

59 lines (36 loc) · 2.49 KB

version GitHub repo size Bitbucket open issues

MokokoBot - Discord Bot

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.

Commands

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

How to run the bot

To run the bot you need to install Python. Then you need to install discord.py:

pip install discord.py

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

Project Development

MokokoBot 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:

  1. Python - v3.11.1
  2. PostgreSQL - v6.15

And the following libraries:

  1. discord.py - v3.7.4

And the following tools:

  1. PyCharm - 2022 v3.2

Python Postgres Discord PyCharm