This is a barebone template for building Discord Bots on App Engine
- Create a Google Cloud account: https://cloud.google.com/
- Install
gcloud SDK
for Google Cloud: https://cloud.google.com/sdk/docs/install, and initialise it. - Follow the App Engine Quickstart, either node.js or Python, to create a Google Cloud project.
- Clone this repository and, in the terminal, change to the
default
(for node.js) orpython
directory. - Deploy the Discord bot using the following commands
gcloud app create --project=[YOUR_PROJECT_ID]
gcloud app deploy
Important: if you deploy the python bot before you deploy the node.js bot, remove the
service
line in app.yaml
- Node.js discord.js documentaition: https://discord.js.org/#/
- Python discord.py Quickstart: https://discordpy.readthedocs.io/en/latest/quickstart.html
- Creating a Bot Account: https://discordpy.readthedocs.io/en/latest/discord.html#discord-intro (applying to both node.js and Python)