Skip to content

Coffeecat2006/discord-chat-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

discord-chat-bot

使用 Python 打造的 Discord 聊天機器人,具備語音錄製與文字生成等功能。

功能特色

  • 自動回應用戶訊息
  • 基本指令系統
  • 自訂回覆功能

安裝需求

  • Python 3.8 或以上版本
  • pip
  • 安裝 FFmpegVOICEVOX Engine 以及系統套件 libopus

安裝步驟

  1. 克隆專案
git clone https://github.com/your-username/discord-chat-bot.git
cd discord-chat-bot
  1. 安裝相依套件
pip install -r setting/requirements.txt
  1. 設定環境變數
  • 在專案根目錄建立 .env 並填入 BOT_TOKENGEMINI_API_KEYCHARACTER_CARD
  1. 啟動機器人
python bot.py

使用方法

在 Discord 中@機器人

貢獻方式

歡迎提交 Pull Request 或建立 Issue。

授權條款

MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published