seratch / bolt-on-cloud-functions-for-firebase Goto Github PK
View Code? Open in Web Editor NEWRead this issue first - https://github.com/slackapi/bolt/issues/361
Home Page: https://github.com/slackapi/bolt/issues/361
License: MIT License
Read this issue first - https://github.com/slackapi/bolt/issues/361
Home Page: https://github.com/slackapi/bolt/issues/361
License: MIT License
Hi,
I am wondering if you know of a way or workaround to use the default App
from @slack/bolt
without using the explicit ExpressReceiver
as is being done in this example, and still get it to work with cloud functions. I'm asking because I want to take advantage of the built-in auth
handling that you can use when just using App
(https://slack.dev/bolt-js/concepts#authenticating-oauth) instead of using ExpressReceiver
and re-implementing auth using the oAuth library.
Hi @seratch, I am building a slack app on cloud functions (for now... cold starts are annoying...) and I think I should be using the processBeforeResponse
as outlined in slackapi/bolt-js#444 but having issues figuring out how to use it. Is it as easy as just adding the option to my App constructor? Do I need to move by ack()
calls to the end of my handler functions or can I keep them at the beginning?
Thanks so much for putting this together! We got a bot up and running in no time using your guidelines.
One issue I am bumping into right now if trying to figure out how to do local development on a bot without interfering with a deployed production one. Do you happen to have any tips on that or best practices?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.