moonstar-x/discord-tts-bot ? reverse-engineered prompt
Reverse engineered prompt
Build me a Discord bot that can read text out loud in voice channels using text to speech.
I want it to feel simple for server admins and members, with slash commands for joining a voice channel, speaking a message, stopping playback, and leaving. It should support multiple languages, use Google Translate text to speech if that’s the easiest starting point, and be able to swap in other speech providers later if needed. Make it work with Discord bot tokens, a basic config file or environment variables, and include a clean way to set the bot up for self hosting. If there are any current Discord or Node docs I should check while wiring it up, look them up online.
Please include the pieces needed to run it locally and in Docker, and make sure it handles the audio part properly with ffmpeg. Keep the user experience straightforward, with sensible defaults, clear error messages, and nothing too complicated for someone just trying to get a TTS bot running in their server.
Are you gonna build this?
make sure you review the code using coderabbit