Skip to main content

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

Metadata

Release files for cog-reloader 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cog-reloader 0.0.2
File Size Uploaded
cog-reloader-0.0.2.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cog-reloader 0.0.2
File Interpreter ABI Platform
cog_reloader-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.5 kB

Release files / cog-reloader-0.0.2.tar.gz

Download URL cog-reloader-0.0.2.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0fae42cb3508090bad2e1a3fbd8ea82337e43dc82c82f94f804e753574ac1b8c
BLAKE2b-256 checksum
How to use checksums
da31c976722d6a1faf44f4f37b15c0e307e719140720614b228d6bd6882aa4bf
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / cog_reloader-0.0.2-py3-none-any.whl

Download URL cog_reloader-0.0.2-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
202d4c024f2f11a6fa29c75de4aa2f73bf2264f6bcf06a31a4064e51a8555202
BLAKE2b-256 checksum
How to use checksums
b87c52b6813ce63fe28eac62c884f0a52a82d8bf89bea30479600fad46072c7c
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page