A discordjs project integrating with GROQ AI Models to have a bot with you in the voice channel. This bot can reply to you as you speak to it and can perform actions for you if you add support to it.
This bot will join any active voice channel and greet them with a random line defined in core/config.js
through voice (TTS).
Users can talk to the bot by refering to it as "Olga".
(USER): Olga, what is 44+42
(BOT TTS): 44+42 is 86!
(USER): Olga, create a discord channel called "test"
(BOT TTS): OK, created
For custom commands, check responses.json
and implement accordingly in handlers/respondToSpeech.js
You also need to download a Vosk model and place in /models
.
first,
mv responses.json.example responses.json
mv .env.example .env
then,
- Configure
responses.json
- Configure
.env
finally,
npm install && node index.js
Change accordingly in the vosk model iniator. You also need to edit the prompt in .env
to define what language you want the answer to be in.