Skip to main content

A auto reloader cog for nextcord and discord.py

Project description

Cog reloader

Make reloading cogs easy while editing. Compitable with nextcord and discord.py

Warning

  • Don't load this while bot is in production, Load only in development environment.
  • This will not reload files that are not cog.

Installation

pip install cog-reloader

Usage

from discord.ext import commands

bot = commands.Bot(command_prefix='/')

@bot.event
async def on_ready():
    print(f'We have logged in as {bot.user}')

bot.load_extension('cog_reloader') # make sure its an `_` not `-`

TOKEN = 'TOKEN_HERE'
bot.run(TOKEN)

Join Discord For any kind of help

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cog-reloader-0.0.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

cog_reloader-0.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file cog-reloader-0.0.1.tar.gz.

File metadata

  • Download URL: cog-reloader-0.0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for cog-reloader-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a6b1e075a83d10a48984db70b7e0a2065de156213506df34fb6facdf2b4b5717
MD5 8bd9bfe242de6a3ec3ed89b8aeb8ae02
BLAKE2b-256 dd2cbffe091d5ecc3667d0820ae3b00d8da98c5cfd4ac93f2343466c9b23d003

See more details on using hashes here.

File details

Details for the file cog_reloader-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: cog_reloader-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for cog_reloader-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 be3d42c43083b305699c1801cc8af3650221cf812d52c8d4e0c456c547af5f4f
MD5 78ed805098ae442adaeae7d600166432
BLAKE2b-256 d3c5e9bb144d4cf079318a4846a4cf881fce6ab18959103c2a9789f37e9ac9a0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page