Saidie000's picture
Upload 83 files
09f1b19 verified
raw
history blame contribute delete
568 Bytes
"""Twitch IRC integration module."""
from __future__ import annotations
from jenaai.core.module import BaseModule
class Module(BaseModule):
"""Reads Twitch chat and routes messages."""
async def start(self) -> None:
await self.event_bus.publish(
"system.log",
{"message": "Twitch integration ready", "module": self.metadata.name},
)
async def connect(self) -> None:
await self.event_bus.publish(
"twitch.status",
{"status": "connected", "module": self.metadata.name},
)