Bot Hosting for Gateway web socket connection

Hi all, I have a very simple bot that listens to messages in a channel and creates a poll whenever a message is sent. 2 things really. 1) Where is a good place to host thing that does NOT use interactions (i.e. apparently doing gateway things with CloudFlare workers is not possible). Like is hosting this bot in Lambda a possibility? 2) Are there any examples someone could send me about getting that set up. I have pretty decent devops experience but have not worked with web sockets before
4 Replies
d.js toolkit
d.js toolkit2mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
Viggo Dunaban
Viggo DunabanOP2mo ago
@Qjuh what is the official guide?
d.js docs
d.js docs2mo ago
:guide: Home: Introduction read more
Viggo Dunaban
Viggo DunabanOP2mo ago
thank you! am I missing something? I don't see anything about hosting on that guide Oh sorry, I can see how that's confusing. I meant getting a hosted server set up I have the code working locally already Yea ok fair enough, I wasn't sure if there was additional configuration with websocket stuff. thanks!

Did you find this page helpful?