Skip to content

Discord charai voicebot#1

Merged
Neear7771 merged 5 commits intomainfrom
discord-charai-voicebot
May 24, 2025
Merged

Discord charai voicebot#1
Neear7771 merged 5 commits intomainfrom
discord-charai-voicebot

Conversation

@Neear7771
Copy link
Owner

No description provided.

google-labs-jules bot and others added 5 commits May 24, 2025 12:52
This commit introduces a Discord bot capable of engaging in voice conversations.
The bot can:
- Join and leave voice channels.
- Listen to your speech for 10 seconds.
- Convert the speech to text using the SpeechRecognition library.
- Send the transcribed text to a specified Character AI character.
- Receive a voice response (MP3) from Character AI using its generate_speech utility.
- Play the Character AI's voice response back in the Discord voice channel.

Key features include:
- A conversation loop mode: After the bot speaks, it automatically starts listening again.
- Commands to manage the conversation: `!join` (starts convo), `!stopconvo`.
- Configuration for Discord bot token, Character AI token, Character ID, and Voice ID.
- Documentation (README.md) and dependency list (requirements.txt).

The implementation relies on discord.py for bot functionalities, PyCharacterAI
for interacting with Character AI, and SpeechRecognition for STT.
FFmpeg is a system dependency for audio playback.
@Neear7771 Neear7771 merged commit bc4f8d9 into main May 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant