Refactor into plugin.

This commit is contained in:
2024-08-31 06:18:23 +10:00
parent 7d4aadb7a1
commit da2745e552
9 changed files with 55 additions and 0 deletions

8
streamalerts/__init__.py Normal file
View File

@@ -0,0 +1,8 @@
import logging
from meta import LionBot
logger = logging.getLogger(__name__)
async def setup(bot: LionBot):
from .cog import AlertCog
await bot.add_cog(AlertCog(bot))