Swallow is a versatile yet easy-to-use and fast Discord music bot written in Node.js
Node.js, npm, pnpm
Important
Install or update pnpm using this command below
npm i pnpm@latest -g
git clone https://github.com/Fyphen1223/Swallow
pnpm i
If you want to use voice recognizer
Create a new folder and cd into it, then use nvm or something like that to use older Node.js version to install vosk (as 18< version of Node.js is not copmatible with it)
Second, copy everything in that node_modules
folder and paste it into the original node_modules
.
Third, download models and then put them in models directory, naming them as their capable language name.
I will soon release compressed node_modules
folder.
pnpm run start
When you encounter error
First, please make sure that you have installed Node.js and pnpm correctly.
Second, try removing node_modules
folder and re-install packages.
Third, make sure Lava/NodeLink is running if you configured it in config.json.
Lastly, if you still have a problem, please create an issue and let me know!