zeroclaw/src/channels
h1n054ur 1c074d5204 fix(discord): use channel name for reply routing instead of discord channel ID
The Discord channel was setting msg.channel to the numeric Discord
channel ID instead of the literal string 'discord'. This caused
process_channel_message() to fail the channels_by_name lookup since
the map is keyed by channel name (e.g. 'discord', 'telegram', 'slack').

The result: the bot receives messages and generates LLM responses but
never sends them back -- target_channel resolves to None so the send
call is silently skipped.

Every other channel (telegram, slack, whatsapp, matrix, signal, irc,
imessage, lark, dingtalk, qq, email, mattermost) correctly sets this
field to its channel name string. Discord was the only one using the
platform-specific ID.
2026-02-18 12:49:06 +08:00
..
cli.rs refactor(channel): accept SendMessage struct in Channel::send() 2026-02-17 23:28:08 +08:00
dingtalk.rs chore(pr539): scope to dingtalk daemon fixes only 2026-02-18 00:42:40 +08:00
discord.rs fix(discord): use channel name for reply routing instead of discord channel ID 2026-02-18 12:49:06 +08:00
email_channel.rs refactor(channel): accept SendMessage struct in Channel::send() 2026-02-17 23:28:08 +08:00
imessage.rs refactor(channel): accept SendMessage struct in Channel::send() 2026-02-17 23:28:08 +08:00
irc.rs refactor(channel): accept SendMessage struct in Channel::send() 2026-02-17 23:28:08 +08:00
lark.rs refactor(channel): accept SendMessage struct in Channel::send() 2026-02-17 23:28:08 +08:00
matrix.rs refactor(channel): accept SendMessage struct in Channel::send() 2026-02-17 23:28:08 +08:00
mattermost.rs fix(channels): satisfy strict delta lint in Mattermost reply routing 2026-02-18 00:19:20 +08:00
mod.rs fix(agent): parse tool-call alias tags in channel runtime 2026-02-18 00:28:08 +08:00
qq.rs fix(channels): complete SendMessage migration after rebase 2026-02-17 23:28:08 +08:00
signal.rs fix(channels): complete SendMessage migration after rebase 2026-02-17 23:28:08 +08:00
slack.rs refactor(channel): accept SendMessage struct in Channel::send() 2026-02-17 23:28:08 +08:00
telegram.rs feat(channels): implement typing indicator for Telegram channel 2026-02-18 12:06:58 +08:00
traits.rs fix(channels): complete SendMessage migration after rebase 2026-02-17 23:28:08 +08:00
whatsapp.rs refactor(channel): accept SendMessage struct in Channel::send() 2026-02-17 23:28:08 +08:00