O
O
OreshekXD2020-06-04 02:07:49
JavaScript
OreshekXD, 2020-06-04 02:07:49

How to deploy a bot to Heroku (discord.js)?

What do I need to create and how do I upload the bot to Heroku?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew Ghostuhin, 2020-06-04
@Torin_Asakura

https://elements.heroku.com/buildpacks/synicalsynt... no big deal. Buildpack as a regular npm package with package.json. In it, the start script is described, everything is in the script.
Procfile is the main thing not to forget, as I understand it, it describes how to run scripts.
At the end already heroku create --buildpack git-url

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question