Giter VIP home page Giter VIP logo

Comments (6)

Mumakil avatar Mumakil commented on July 26, 2024

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.

erkattak avatar erkattak commented on July 26, 2024

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.

Mumakil avatar Mumakil commented on July 26, 2024

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.

brentc avatar brentc commented on July 26, 2024

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.

erkattak avatar erkattak commented on July 26, 2024

Thanks @brentc that's exactly what I was thinking. This is similar

https://github.com/cdoughty77/hubot-flowdock-delete-message

from hubot-flowdock.

Mumakil avatar Mumakil commented on July 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.