From 6824e92577802b7a809438fa4185b497881320b7 Mon Sep 17 00:00:00 2001 From: Interitio Date: Sun, 31 May 2026 06:22:40 +1000 Subject: [PATCH] Add twitch setup methods. --- customcmd/__init__.py | 6 ++++++ twitch/__init__.py | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 customcmd/__init__.py diff --git a/customcmd/__init__.py b/customcmd/__init__.py new file mode 100644 index 0000000..8c2efc5 --- /dev/null +++ b/customcmd/__init__.py @@ -0,0 +1,6 @@ +import logging + +logger = logging.getLogger(__name__) + +from .twitch import setup as twitch_setup +from .parser import * diff --git a/twitch/__init__.py b/twitch/__init__.py index e69de29..36d7b7b 100644 --- a/twitch/__init__.py +++ b/twitch/__init__.py @@ -0,0 +1,7 @@ +from .. import logger + + +async def setup(bot): + from .component import CustomCmdComponent + + await bot.add_component(CustomCmdComponent(bot))