Coeus Discord Bot

  • Top Level State Machine
    The top-level state machine of the Coeus Discord bot. This shows the base interactions between all the scripts that run the bot.
  • bot.py State Diagram
    The Python script that runs the Discord bot, also known as bot.py. This file is called to start the bot up and to call any cogs that are in the “cogs” folder. The main commands/functions called from this script are only to manage the cogs.
  • main.py State Diagram
    The main.py Python script/cog contains most of the functions in the bot. Of the functions in the script, most of them are simple commands that the user may find useful to query. For example: The poll command allows a user to create a poll with a specified question and options.
  • admin.py State Diagram
    The admin.py script is for user management of a server. Those with admin permissions on a server can ban, kick, and unban a user through the bot. The admin.py script also allows a user to clear the most recent messages in the chat.
  • music.py State Diagram
    As the script name may suggest, this script gives music functionality with the bot. It allows a user to play music while in a voice channel via YouTube links. The commands called from the bot are similar to functionalities of music apps like Spotify and YouTube such as play, pause, and skip.
  • levels.py State Diagram
    The final script that is accessible in the bot is levels.py. This script allows the bot to keep track of user interaction with the bot (such as calling the –cats command) and award experience and levels to users. This data is updated and stored through a JSON file.

About the project:

Discord Python JSON MongoDB YoutubeDL

Created a Discord bot that utilizes the discord.py API. Functions include: Rolling dice, creating a poll, playing music, and many more. The bot is currently not hosted and can only be activated via personal computer. This is an on-going project as many more features can be added to enhance the uniqueness of the bot, such as text analysis through machine learning.