resolve merge conflicts: keep all channels and add QQ

This commit is contained in:
Re-bin
2026-02-09 11:58:38 +00:00
7 changed files with 293 additions and 5 deletions

View File

@@ -107,6 +107,17 @@ class ChannelManager:
except ImportError as e:
logger.warning(f"Email channel not available: {e}")
# Slack channel
if self.config.channels.slack.enabled:
try:
from nanobot.channels.slack import SlackChannel
self.channels["slack"] = SlackChannel(
self.config.channels.slack, self.bus
)
logger.info("Slack channel enabled")
except ImportError as e:
logger.warning(f"Slack channel not available: {e}")
# QQ channel
if self.config.channels.qq.enabled:
try: