Skip to content

c-madoc/Example-Discord-bot

Repository files navigation

Basic Discord Bot


Version: 0.2

A semi-advanced Discord bot including cogs, examples of database management, and basic command registration.

Highly commented for readability and understanding.

Contains:

  • Cogs with basic dynamic plugin loading
  • Database connection to MongoDB with custom class structure
  • Custom Logger and Colors for terminal output
  • Example test plugin with usage on interacting with the database cluster
  • Settings class to easily manage the Discord bots settings

Commands:

  • test: Sends a basic Hello World
  • add_user: Adds a user to the database
  • remove_user: Removes a user from the database
  • users: Gets all users from the database

Setting up:

  • Include a .env file in root folder and store TOKEN (your Discord Bot Token) and DB (Your MongoDB Connection String)
  • All requirements in requirements.txt

About

An example Discord bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published