2 Replies
Hi @Poppy, it might be possible
the main problem is discordjs expects a server to be listening at all times to monitor events and respond https://discordjs.guide/creating-your-bot/main-file.html#running-your-application
while buildship requires an event to be sent throught an api call to be processed
one solution can be to setup a very small vm (f1-micro) https://cloud.google.com/products/calculator?hl=en&dl=CiRhMjE2MTY1NC1mMjI3LTRkN2ItOWM2Zi02MTcxZWJiNGQ3NDIQCBokN0I5MDUwNjktOUVFMC00NkFELTk4NkYtRDJBRDRGNjEyNTI4 (~$3.88/month) to listen to differnet bot event and make requests buildship then respond
example code to run on the server
i havn't tested this out but if you want to try it out I'm happy to help out
Google Cloud Pricing Calculator
Create your own Custom Price Quote for the products offered through Google Cloud based on number, usage, and power of servers
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
https://cloud.google.com/blog/topics/developers-practitioners/build-and-run-discord-bot-top-google-cloud
https://www.youtube.com/watch?v=P4i_WPXXjoc
here some guides for setting up the instance
ArcticTutorial
YouTube
How to host your Discord.js bot using Google Cloud for FREE! (2021)
In this video, I will teach you how to host your Discord.js Bot for free using Google Cloud instead of using Heroku (An alternate option)
30 days of free royal music by going to: http://bit.ly/rlb-es
(Supports Ryan Lennox-Bradley) https://www.youtube.com/channel/UCgBLR9zlrdkfhJ-ST6pZxgA
(If you have any question, comment down below and I'll tr...