Refactor with registry.
This commit is contained in:
@@ -2,6 +2,4 @@ import logging
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
async def setup(bot):
|
||||
from .component import KoanComponent
|
||||
await bot.add_component(KoanComponent(bot))
|
||||
from .twitch import setup as twitch_setup
|
||||
|
||||
Reference in New Issue
Block a user