tuxbot-bot/tuxbot/cogs/admin/__init__.py

20 lines
487 B
Python
Raw Normal View History

from collections import namedtuple
from .admin import Admin
2020-09-02 00:08:06 +02:00
from .config import AdminConfig
from ...core.bot import Tux
2020-08-28 01:06:57 +02:00
VersionInfo = namedtuple("VersionInfo", "major minor micro release_level")
version_info = VersionInfo(major=2, minor=0, micro=0, release_level="alpha")
__version__ = "v{}.{}.{}-{}".format(
version_info.major,
version_info.minor,
version_info.micro,
2020-08-28 01:06:57 +02:00
version_info.release_level,
).replace("\n", "")
def setup(bot: Tux):
bot.add_cog(Admin(bot))