Discord bot code refuses to function. Returns 'The application did not respond'.

I'm trying to make a discord bot with Cloudflare Workers, but it is refusing to function. I am not using wrangler as that is beyond my understanding. I will send my code in the next message.
10 Replies
soundmanD
soundmanD4w ago
security alert... you posted code with your secrets in them... time to cycle your bot token...
soundmanD
soundmanD4w ago
have you tried taking a look at discord's cloudflare sample app and using it as a basis? https://github.com/discord/cloudflare-sample-app
GitHub
GitHub - discord/cloudflare-sample-app: Example discord bot using C...
Example discord bot using Cloudflare Workers. Contribute to discord/cloudflare-sample-app development by creating an account on GitHub.
衡正 - Kousei (RedPanda483)
just did, some delightful human being just leaked it lol. thanks, ill be more careful next time. cycled. didnt know it existed, thanks ah so it was you lol. i mean someone put it on github lol no idea what that means but ok ah i see, thanks im such an idiot lol how do i do it without wrangler etc i have windows so i cant even get it (from what i can see)
soundmanD
soundmanD4w ago
Why not use wrangler? I'm on Windows as well and I can develop my bot locally.
衡正 - Kousei (RedPanda483)
but i cant host it locally i know 0 about this incase you didnt notice
soundmanD
soundmanD4w ago
For testing purposes whilst you build your bot its fine. Just follow the readme at the linked demo app.
衡正 - Kousei (RedPanda483)
@soundmanD help, trying to install npm and im using volta, it just says volta : The term 'volta' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. fixed uh oh @soundmanD trying to do the thing on the tutorial, its so confusing and its not working hey @soundmanD i need some help, i cant open the stuff in vs code, i created the bot, logged in, etc in cmd and i dont know what to next because all the tutorials i can find are completely different looking im really struggling
soundmanD
soundmanD4w ago
unfortunately all i can say is that the readme for the repo is what needs to be followed.
衡正 - Kousei (RedPanda483)
am i meant to run it in cmd or what im so confused its refusing to work in cmd
Want results from more Discord servers?
Add your server