Skip to content

This is a discord.py template for cogs and sub commands!

Notifications You must be signed in to change notification settings

RejectModders/Discord.py-Template

Repository files navigation

Discord Bot Template

This is a template for creating a Discord bot using Python and the discord.py library. It features a modular design with cogs for easy addition and removal of features.

Features

  • Cog-based structure for easy management of commands.
  • Owner-only commands for bot management.
  • Command synchronization with Discord.
  • Uses sub commands in the cog Fun.
  • Shows buttons, drop down menus, and modals!

Installation

  1. Clone the repository: git clone https://github.com/RejectModderss/Discord.py-Template.git
  2. Install the required dependencies: pip install -r requirements.txt
  3. Replace TOKEN = "YOUR TOKEN HERE" with your bot token!
  4. Run the bot: python main.py

Usage

Cogs

The bot uses a cog-based structure. Each cog represents a category of commands. You can add your own cogs to extend the bot's functionality.

Commands

The bot has a variety of commands. Here are some examples:

  • sync: This command, available only to the bot owner, syncs all the bot's commands with Discord.

Other Info

Everything inside of this bot is from discord.py 2.4.0 if you have errors, please make sure you are on the right version of dpy!

I made this because others don't know cogs or don't know how to use buttons/drop downs!

If you need help, add me on discord rejectmodders!

About

This is a discord.py template for cogs and sub commands!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages