Skip to content

xsota/meowgent

Repository files navigation

meowgent

Pythonで構築されたカスタマイズ可能なインタラクティブDiscordボットです。LLMのapiを利用した自然言語処理、ボイスチャンネル通知、スタミナシステムなどがあります。

Features

  • インタラクティブチャット: ユーザーのメッセージに応答し、個性や挙動を自由に設定可能 (CHARACTER_PROMPT)
  • ボイスチャンネル通知: ユーザーの入退室をテキストチャンネルでお知らせ。通知内容は自由にカスタマイズ可能 (VOICE_NOTIFICATION_ENABLED)
  • スタミナシステム: ボットの返信確率や頻度をスタミナとして管理。スタミナは時間経過で回復します。
  • ツールの統合: Web検索などの外部ツールをサポート (SERP API)
  • 環境変数による設定: ボットの挙動やメッセージを環境変数で簡単に設定可能。

Setup

  • Python 3.12+
  • Discord Bot Token
  • OpenAI API Key
  • Required Python libraries (see src/requirements.txt)

Installation

git clone https://github.com/xsota/meowgent.git
cd meowgent
uv sync
cp .env.example .env # 必要な値を .env に記入
uv run python src/bot.py

とりあえずChatGPTを使ったおれおれDiscord botが欲しい人

fly deploy

yukariちゃん

実際に運用されているbotの例です。 雑談してくれたり、誰かがボイスチャンネルに参加したことや、Cryptoの価格を教えてくれるDiscord botです

かわいい顔の画像

image

image

Contributing

Contributions are welcome! Feel free to submit issues or pull requests. Please ensure all new features are well-documented and tested.

For detailed guidelines on how to contribute, please refer to the CONTRIBUTING.md file.

About

Discord bot

Topics

Resources

Contributing

Stars

Watchers

Forks

Contributors 2

  •  
  •