[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:
Will
2017-10-27 20:06:47 -04:00
committed by GitHub
parent 77e29ff43b
commit 09b3642559
5 changed files with 227 additions and 35 deletions

View File

@@ -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"