BaihuBaihu
CLI

channel

manage chat channels

usage

baihu channel start [CHANNELS...]
baihu channel stop

start channels

# start all configured channels
baihu channel start

# start specific channels
baihu channel start telegram discord

# start with autostart list from config
baihu channel start --autostart

available channels

channelrequirements
clinone (built-in)
telegrambot token from @BotFather
discordbot token + gateway intents
slackapp token + bot token
matrixhomeserver URL + access token
imessagemacOS only, AppleScript bridge
whatsappbusiness API credentials
webhookgateway must be running

configuration

[channels_config]
autostart = ["telegram", "discord"]

[channels_config.telegram]
token = "enc2:..."
allowed_users = ["123456789"]

[channels_config.discord]
token = "enc2:..."
allowed_guilds = ["*"]

each channel has an allowlist. empty = deny all. "*" = allow all.

On this page