Cogwatch Versions Save

Hot-reloading for discord.py-based command files.

v3.3.0

1 year ago

[3.3.0] -- 2023-02-04

Changed

  • Fixed an issue with pycord v2+ where the load_extension method now returns a list or dictionary instead of a None value. (#30)

v3.2.0

1 year ago

[3.2.0] -- 2023-19-01

Added

Changed

  • Fixed logging support not (fully) working when using libraries other than discord.py. (#28)
  • Fix erroneous error thrown when adding subdirectories to your command directory.

v3.1.0

1 year ago

[3.1.0] -- 2022-27-08

Added

Changed

  • Example code now uses discord.py v2.
  • Fixed some minor meta-information bugs / typos.
  • Added basic example screenshot on the README.

v3.0.1

1 year ago

[3.0.1] -- 2022-03-08

Changed

  • Update load_extension calls to use await for compatibility with discord.py v2. (@einsatzbereit: #18)

v3.0.0

1 year ago

[3.0.0] -- 2022-25-06

This release drops support for Python 3.7.

This release does NOT have support for discord.py v2 yet. PRs welcome!

Added

  • Terminal output now supports colorized messages. The argument colors can be used to disable it.
  • Explicit error messages for certain actions (NoEntryPoint, ExtensionNotLoaded).

Changed

  • Fixed a bug where filenames with mixed case would fail. (#14)
  • Added explicit checks before loading or unloading cogs. (#15)

v3.0.0a

2 years ago

[3.0.0a] -- 2022-27-03

This release drops support for Python 3.7.

Added

  • Terminal output now supports colorized messages. The argument colors can be used to disable it.
  • Explicit error messages for certain actions (NoEntryPoint, ExtensionNotLoaded).

Changed

  • Fixed a bug where filenames with mixed case would fail. (#14)
  • Added explicit checks before loading or unloading cogs. (#15)

v2.1.0

3 years ago

[2.1.0] -- 2021-15-02

Added

  • The subclassed bot can now be run via a poetry script poetry run example.
  • The examples directory now includes a sample command directory & cog file to demonstrate the expected tree and code structure. (#9)

Changed

  • Fixed a bug with the logger that was broken in v2.0.0.

v2.0.0

3 years ago

[2.0.0] -- 2021-30-01

Changed

  • BREAKING: The cogs_path parameter is now just path. This was done for simplicity and to closer match the general naming convention.
  • Updated watchgod dependency to latest version for performance improvements.

v1.1.8

3 years ago

[1.1.8] -- 2020-12-14

Changed

  • Fixed path manipulation bug that caused issues between POSIX and Windows systems. Paths are now handled platform-agnostic with the os module. Added tests for regressions. (#6)

v1.1.7

3 years ago

[1.1.6 -- 1.1.7] -- 2020-12-02

Changed

  • Fixed a bug where nested project structures would break internal path resolution.
  • A ValueError will now be raised if the user uses invalid input delimiters on the cogs_path parameter.

Added

  • Migrated to the Poetry package & dependency manager.
  • New dev dependency for testing: pytest.
  • Included several test cases on get_dotted_cog_path and get_cog_name ensuring they are returning usable values.

Removed

  • Removed setup.py, requirements.txt, build.ps1 in favor of the Poetry ecosystem.