Skip to main content

CogHotSwap

Work in progress

You ever wish that your discord bot cogs would just reload by themselves? Well now you can, by adding just one line of code to your bot we will automate the reloading of all your cogs, and hopefully give you feed back (Coming Soon Feature).

This project was built for Pycord a fork of Discord.py


Installation

git clone https://github.com/TropicalShadow/CogHotSwap
cd CogHotSwap
python -m pip install -U .

or if you have git, add this to your requirements.txt

git+https://github.com/TropicalShadow/CogHotSwap

Coming Soon Features

  • List of unloaded cogs that can be loaded or have errored
  • Enhance the reloading of the files

Examples here

from discord.ext.commands import Bot
from coghotswap import Watcher

bot = Bot("!")
Watcher(bot, path="cogs")

bot.run("token")

Need Support?

Contact me on discord RealName_123#2570

Metadata

Release files for coghotswap 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 coghotswap 0.0.2
File Size Uploaded Provenance Actions
coghotswap-0.0.2.tar.gz 5.9 kB Without provenance Details for coghotswap-0.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 12.2 kB

Release files / coghotswap-0.0.2.tar.gz

Download URL coghotswap-0.0.2.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d7da2f58d9277cd381c73ebc12f769cfb633b0827cb193ae5b2ec448650f53e0
BLAKE2b-256 checksum
How to use checksums
217b3b17f6e9f39ab9d37efa42b6d363c15c1488338f20ca6118a076a711ec25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

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

Download URL coghotswap-0.0.2-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
082f94e840409361f9b437c03a3f0edac763cb4817bcac5fb44ee720b95c41be
BLAKE2b-256 checksum
How to use checksums
f00ca6cbe16d2562ce909c18de93e8bfb18f35ba3fb81d3103b8bd1c58620695
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Security for coghotswap 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

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