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

Usercentrics

Usercentrics integration. Manage data, records, and automate workflows. Use when the user wants to interact with Usercentrics data.

Registry SourceRecently Updated
Automation

Session Cost

Analyze OpenClaw session logs to report token usage, costs, and performance metrics grouped by agent and model. Use when the user asks about API spending, to...

Registry SourceRecently Updated
Automation

Agented

Stateful, persistent text editor for LLM agents. Undo tree, marks, annotations, transactions. Backed by SQLite.

Registry SourceRecently Updated
Automation

Agent Memory System v8

Agent 记忆系统 — 6维坐标编码 + RRF双路检索 + sqlite-vec统一存储 + 写入时因果检测 + 多Agent共享 + 记忆蒸馏 + 时间旅行 + 情感编码 + 元认知 + 内在动机 + 叙事自我 + 数字孪生 + 角色模板

Registry SourceRecently Updated