A bot built to record and transcribe audio fragments from Discord.
Some functions taken from podbot.
- Set up the Cloud Speech Api and download credentials json.
- Create a Discord Bot.
git clone https://github.com/sshh12/Recording-Bot.gitnpm installpip install -r requirements.txt
- In
main.js, changepythonappto the name of one of the bot_*.py scripts - Change
tokento the Discord bot token node main.js
Depending on what you want to do with the recordings, you can select or write a python
app and point main.js to it.
bot_transcribe.pytranscribes the speech of a user to their text channel.bot_repeat.pyplays back each audio file.bot_conversation.pyrecords conversations (prompt -> response) then replays response the next time it hears the same prompt. This requirescreate_conversation_log.pyto preprocess audio files.bot_say.pyplays lastest audio file with transcription of X when user says "say X".