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

19 lines
462 B
Python
Raw Normal View History

2020-06-06 18:51:47 +02:00
from collections import namedtuple
from .anti_raid import AntiRaid
from ...core.bot import Tux
2020-06-06 18:51:47 +02:00
VersionInfo = namedtuple("VersionInfo", "major minor micro releaselevel")
version_info = VersionInfo(major=1, minor=0, micro=0, releaselevel="alpha")
__version__ = "v{}.{}.{}-{}".format(
version_info.major,
version_info.minor,
version_info.micro,
2020-06-07 17:41:34 +02:00
version_info.releaselevel,
2020-06-06 18:51:47 +02:00
).replace("\n", "")
def setup(bot: Tux):
2020-06-06 18:51:47 +02:00
bot.add_cog(AntiRaid(bot))