Discord bot which automatically downloads TikTok videos when a TikTok link is posted in chat.
You can invite the bot using this link
This part of the guide is for people who want to host an instance of the bot locally.
Make sure yt-dlp is installed and accessible from the path.
Also make sure that FFMPEG is installed and on the path:
- Windows: Install FFMPEG from Chocolatey
- MacOS: Install FFMPEG through Brew
- Debian/Ubuntu-based:
apt install ffmpeg
- Other Linux Distros: find in your package manager.
Create secrets.json
in the same directory as this file with the following data:
{
"token": "YOUR_DISCORD_BOT_TOKEN"
}
Install dependencies with npm i
, compile with tsc
, and run dist/uTik.js
to start the bot.