go-joe / slack-adapter Goto Github PK
View Code? Open in Web Editor NEWSlack adapter for the Joe bot library
Home Page: https://github.com/go-joe/joe
License: BSD 3-Clause "New" or "Revised" License
Slack adapter for the Joe bot library
Home Page: https://github.com/go-joe/joe
License: BSD 3-Clause "New" or "Revised" License
I had a bot set up to handle a regex (RespondRegex) and the message handler itself responded with test that matched the regex.
This results in the bot looping indefinitely, spamming Slack in the process.
Sample code: https://gist.github.com/jfchevrette/dd34b16b87db72f4f591a4c66896dbb0
This might be a larger push for Joe, but replying in a thread would be super cool.
First off, cool project - I like it especially the addition of the Cron adapter + multi platform support.
What is the advised approach to using this adapter now?
It's unclear whether we should switch to the Events API and parse every message event the bot receives or if there is a workaround for the RTM API?
slack-go/slack2020/06/07 18:09:42 rtm.go:71: Using URL:
slack-go/slack2020/06/07 18:09:42 websocket_managed_conn.go:181: Failed to start or connect to RTM: not_allowed_token_type
slack-go/slack2020/06/07 18:09:42 websocket_managed_conn.go:147: reconnection 1 failed: not_allowed_token_type reconnecting in 100ms
An ongoing discussion over at the API client. slack-go/slack#654
Hi! I'm just getting started with this library and have a demo app using the events API. I need to deploy the app to AWS ECS, and for that I'll need to set up a health check on the load balancer that exposes the endpoint. I know the http-server module exists, but the load balancer health check needs to be pointed at the same port that is receiving traffic.
What's the best way to go about this? I considered adding a /ping
endpoint to the sever spun up in this module, but I hope someone else has solved this already.
Thanks!
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.