Telegram Voice Bot

# Telegram Voice Bot Skill

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Telegram Voice Bot" with this command: npx skills add polityang/telegram-voice-bot

Telegram Voice Bot Skill

支持语音识别和中文语音合成的 Telegram 机器人技能。

功能

  • 🎤 语音识别 - 使用 OpenAI Whisper 自动识别语音消息
  • 🔊 语音合成 - 使用 Microsoft Edge TTS 进行中文语音回复
  • 🇨🇳 中文支持 - 默认支持中文

依赖

  • Python 3.8+
  • openai-whisper
  • edge-tts
  • requests
  • Telegram Bot Token

安装

pip install -r requirements.txt

配置

  1. 从 @BotFather 获取 Telegram Bot Token
  2. 设置环境变量:
    export TELEGRAM_BOT_TOKEN="your_token"
    

使用方法

python bot.py

环境变量

变量说明默认值
TELEGRAM_BOT_TOKENTelegram Bot Token(必填)
VOICE_REPLY是否使用语音回复true

Whisper 模型

在代码中修改 MODEL_NAME

  • tiny (最快, ~75MB)
  • base (默认, ~74MB)
  • small (~244MB)
  • medium (~769MB)
  • large (~1550MB)

版本

  • v2.0.0 - 添加中文语音合成
  • v1.0.0 - 初始版本(仅语音识别)

许可证

MIT

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Paired — Bluetooth Phone Bridge

Bridge an OpenClaw agent to the user's own phone via Bluetooth and ADB-over-USB. Provides SMS receive (MAP/MNS), SMS send (ADB autosend), outgoing calls (HFP...

Registry SourceRecently Updated
Automation

Stripe Setup

Add Stripe payments to any agent-built app. Covers checkout sessions, subscription billing, webhook handling, customer portal, and test-mode validation. Use...

Registry SourceRecently Updated
Automation

Memori

Long-term memory for OpenClaw agents using the Memori SDK. Automatically captures conversations and equips the agent with explicit tools to recall context ac...

Registry SourceRecently Updated
Automation

Email Excel Transfer

Automatyzuje workflow pobierania danych z email i wstawiania ich do arkuszy kalkulacyjnych. Użyj gdy użytkownik chce przenieść informacje z poczty do Excela....

Registry SourceRecently Updated