Help setting up worker for discord bot

Hello, I wanted to host a discord bot that embeds tiktok links in my friends server. I found this really old bot+cloudflare worker that works but needs a little bit of changing.

i was looking for help on how to deploy this.

i did the quickstart guide on deploying cloudflare workers. So that makes sense but how does everything else fit in this puzzle?

I do have a local machine thats running constantly that i wanted to host it on. and I have a domain for changing the tiktok urls.

Bot: https://github.com/dustinrouillard/tiktok-discord-embeds
Worker: https://github.com/dustinrouillard/tiktok-embeds
GitHub
Discord bot to listen for Tiktok links and resend them using my Cloudflare OpenGraph worker - dustinrouillard/tiktok-discord-embeds
GitHub
Generates OpenGraph meta tags and gets the video file for Tiktoks from their share urls - dustinrouillard/tiktok-embeds
Was this page helpful?