Skip to content

OldBigBuddha/discord-slash-command-with-cloud-functions

Repository files navigation

discord-slash-command-with-cloud-functions

Build a Discord Slash Command and deploy Cloud Functions

Update dependencies

$ npm run -ws update:check
$ npm run -ws update:apply

Debug for function

$ npm run -s @scrapbox/function start
$ curl http://localhost:8080/

Deploy to Google Cloud Function

Prepare(once)

  • install gcloud
  • run gcloud auth application-default login for deploying to Google Cloud Function

Deploy command

$ npm run -w @scrapbot/function deploy

Reference

About

Build a Discord Slash Command and deploy Cloud Functions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published