Fix imported client name.
This commit is contained in:
@@ -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__)
|
||||||
|
|||||||
Reference in New Issue
Block a user