This is a silly discord bot I made for my discord server. It allows you to upload sounds as you please and play them back into discord via a web interface.
The bot will also record every thing spoken in whatever channel it is in (provided discord.js hasn't broken that feature again). The recorded audio gets saved to a configured directory as well as a flat file "database". This audio is also run through speech to text software vosk.
The recorded audio can then be clipped into sounds for the soundboard via another web interface.
- Have a machine you'll run this on.
- Install node.js, python3
- Install vosk by running
pip install vosk
- Download a vosk model from this page and unpack into
vosk/model
- Create a new discord bot account here, add your bot to your discord server
- Copy
.env.sample
to.env
- Configure the
.env
settings file - Run
yarn
andyarn start
in the project root directory - Open a browser to http://<your machine>:<port in env file>