mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 18:27:59 -05:00
[V3 Cog/Data Manager] Bundled Cog Data (#1063)
* Refactor find_spec out of core_commands * Fix version error when not installed * initial * Fix find_cogs call * Enable copying * Add helper method for cog creators * Add warning * My dpy skillz need work
This commit is contained in:
@@ -5,4 +5,7 @@ from .context import RedContext
|
||||
|
||||
__all__ = ["Config", "RedContext", "__version__"]
|
||||
|
||||
__version__ = version = pkg_resources.require("Red-DiscordBot")[0].version
|
||||
try:
|
||||
__version__ = pkg_resources.require("Red-DiscordBot")[0].version
|
||||
except pkg_resources.DistributionNotFound:
|
||||
__version__ = "3.0.0"
|
||||
|
||||
Reference in New Issue
Block a user