mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
* 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
12 lines
276 B
Python
12 lines
276 B
Python
import pkg_resources
|
|
|
|
from .config import Config
|
|
from .context import RedContext
|
|
|
|
__all__ = ["Config", "RedContext", "__version__"]
|
|
|
|
try:
|
|
__version__ = pkg_resources.require("Red-DiscordBot")[0].version
|
|
except pkg_resources.DistributionNotFound:
|
|
__version__ = "3.0.0"
|