Comments (6)
This might be possible, but I'd like to figure out first what's the motivation here and how would you expect this to work? Hubot might be talking in multiple flows and private conversations, so this would need to be on a per-flow basis. I'm thinking something like commenting the same thread and then hubot would delete the previous message.
Also, I'm not sure this is needs to be done in the flowdock adapter, since a script with a proper command sounds like a better fit.
from hubot-flowdock.
Commenting in the same thread is how I imagined it working as well. The motivation here is that sometimes when using external services to search or display some content, it might return inappropriate results and we'd like to be able to censor hubot.
from hubot-flowdock.
Thanks for the clarification! I feel this would better fit a userscript since it's an explicit command and does not fall exactly into the domain of a connection adapter (nor does the hubot adapter have a common interface for this). That said, a script would still need to take into account which connection adapter is in use.
I'm closing this ticket since I don't think we'll be implementing this in hubot-flowdock for now, but if you want help with writing a userscript I'm happy to help!
from hubot-flowdock.
I actually implemented this as a user script for our needs a while back. Because it's flowdock specific, I haven't released it anywhere, but here it is:
https://gist.github.com/brentc/63ce932e6c0dd8ea3b7a
from hubot-flowdock.
Thanks @brentc that's exactly what I was thinking. This is similar
https://github.com/cdoughty77/hubot-flowdock-delete-message
from hubot-flowdock.
Great! I'll add these to the readme so maybe they are found more easily if anyone else needs similar functionality!
from hubot-flowdock.
Related Issues (20)
- Add `hubot-adapter` topic
- Migration to JavaScript / ES2015
- How to address a user's 1:1 flow? HOT 1
- res.reply doesn't use user's display name if they joined flow after Hubot started
- Notifications not ordered correctly
- Brain data incomplete when using password authentication
- App crashes when open chats HOT 5
- Unexpected error in Flowdo ck client: Error: Received status 500
- Cannot read property 'id' of undefined HOT 1
- res.emote doesn't appear to work HOT 3
- Hubot not responding to its own name HOT 8
- Is it possible to connect hubot so I don't need to pay or an extra user? HOT 1
- Various issues resolved - re buffertools and node-gyp rebuild HOT 2
- Error on buffertools/node-gyp compile on adding hubot-flowdock to dependencies. HOT 1
- Has anyone had any luck with hubot-auth and hubot-flowdock in tandem? HOT 1
- Bot dies when it joins more than 200-ish flows HOT 2
- Windows 10 hubot: Cannot load adapter flowdock HOT 5
- Get Thread ID from New Thread HOT 4
- Running behind a corporate proxy HOT 1
- Error with nodejs version >= 7.x
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hubot-flowdock.