Plutarch is a discord bot which is designed with two features in mind.
- The ability to join a voice channel and record audio files for a session. The audio files generated will have a composite of all members of the channel's audio, as well as audio files available for each individual seperately
- The ability to automatically create and provide a transcript of the conversation contained in all pertinent audio files
Requirements:
python3.12pippiptools
Run: make lint
To auto fix where possible: make lint-fix
Run: make build
Run: make install-dev
Run: make all
Required Third Party Libraries:
ffmpegopus
- Create a
.envfile which contains the following environment variables
API_BASE_URL= // Discord API endpoint
DISCORD_BOT_NAME= // name of bot in discord developer portal
DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=
DISCORD_TOKEN=
OAUTH2_REDIRECT_URI= // oauth callback ex: http://localhost:5000/callback when local
WHISPER_MODEL= // small,base,medium,large,huge
YT_DO"/usr/local/lib/libopus.dylib"MAIN= // www.youtube.com
FFMPEG= // location of ffmpeg cli tool
OPUS= // location of .dll or .dylib opus file ex: /usr/local/lib/libopus.dylib
-
Run
make all -
Invite the Bot to your discord server through the discord developer portal
-
Run with
python3.12 -m plutarch