Fix imported client name.

This commit is contained in:
2025-09-01 19:47:34 +10:00
parent c84ae3b281
commit 094b1e3c57

View File

@@ -5,7 +5,7 @@ from twitchio import PartialUser, Scopes, eventsub
from twitchio.ext import commands as cmds from twitchio.ext import commands as cmds
from datamodels import BotChannel, Communities, UserProfile from datamodels import BotChannel, Communities, UserProfile
from meta import CrocBot from meta import Bot
from utils.lib import utc_now from utils.lib import utc_now
from . import logger from . import logger
@@ -13,7 +13,7 @@ from .data import EventData, TrackingChannel
class TrackerComponent(cmds.Component): class TrackerComponent(cmds.Component):
def __init__(self, bot: CrocBot): def __init__(self, bot: Bot):
self.bot = bot self.bot = bot
self.data = bot.dbconn.load_registry(EventData()) self.data = bot.dbconn.load_registry(EventData())
print(self.__all_listeners__) print(self.__all_listeners__)