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
GitHub - dustinrouillard/tiktok-discord-embeds: Discord bot to list...
Discord bot to listen for Tiktok links and resend them using my Cloudflare OpenGraph worker - dustinrouillard/tiktok-discord-embeds
GitHub
GitHub - dustinrouillard/tiktok-embeds: Generates OpenGraph meta ta...
Generates OpenGraph meta tags and gets the video file for Tiktoks from their share urls - dustinrouillard/tiktok-embeds
C
Cyb3r-Jak344d ago
The worker can you deploy with use wrangler deploy but the bot needs to run somewhere else as Cloudflare isn’t for long running processes
L
LeroyWasKilled44d ago
So far: I've deployed the worker on CloudFlare but idk if it's working. The discord bot container is ready but that's causing issues right now. The problem right now is that it says the discord bot token is invalid i pasted the bot token in client.login in the index.ts and it still throws this error ^
C
Cyb3r-Jak343d ago
That would be an issue to raise to the creator of the bot.
Want results from more Discord servers?
Add your server
More Posts
Redirect not working when transforming via Workers onError eventHi folks, I have a worker that resizes images; everything works well except when the animated GIF ican i run --force here ?can i run --force here ?Workers KV get throws TypeError: Cannot read properties of undefined (reading 'get')My wrangler.toml file looks like this: ``` kv_namespaces = [ { binding = "BH_API_KEYS", id = "xxxPaid for the Services.Paid for support, my site is under DDOs attacks I would like a dev to help me resolve this issue. passh over cloudlare tunnel with iPhoneHi, I successfully got an ssh connection through a cloudflare tunnel on windows but it worked becausView bandwidth usage by pages website?Is there any way to see how much bandwidth a pages project has used?Exporting WAF Logs on Business planIs it possible to use the API to export the WAF logs and then i can parse and import it to an externWorker Loop and error because or External rendering serviceI face an issue... I use a worker that loads a page on an external site but I see a strange Loop comContacting by chat impossible or nightmare?The support system is not showing any option accessing to the live chat.... Can someone help me or gFeature Request: Route Zone LinkA small dashboard feature that would make things a bit more seamless would be adding a link to the rpricing of web3?Hi guys, I am trying to find the pricing of the ethereum web3 gateway. Since it's a usage-based billWebsite domain stuck at verifying but subdomains workingI have a Pages project and I'm trying to add a domain to it. So the site has been added under Websit