Giter VIP home page Giter VIP logo

Comments (5)

Mumakil avatar Mumakil commented on July 26, 2024

Thanks for reporting. The adapter should ignore all messages by the bot itself so this is not intended behavior. Which versions of hubot and hubot-flowdock are you using?

from hubot-flowdock.

Mumakil avatar Mumakil commented on July 26, 2024

Also, are you sure the name is configured properly? This situation can happen, if your hubot thinks it's named something else than what its Flowdock nick actually is. Make sure that HUBOT_NAME environment variable is correct or that the bot is started using the -n Nick flag and that corresponds to the Flowdock nick.

from hubot-flowdock.

victorhooi avatar victorhooi commented on July 26, 2024

I'm using Hubot 2.8.1 with Hubot-Flowdock 0.6.5.

Aha, I wasn't aware of the requirements around the name for Hubot.

Is there a way to get Hubot to print out what it believes the name to be?

I tried setting the environment variable HUBOT_NAME prior to starting up bin/hubot - after that, the bot didn't respond to anything, until I unset that variable.

Also, I tried using the -n flag:

bin/hubot -a flowdock -n Victor

Likewise, my bot didn't seem to work whilst that flag was passed in.

Any thoughts?

from hubot-flowdock.

victorhooi avatar victorhooi commented on July 26, 2024

@Mumakil Aha, this was due to silliness on my part - I forgot that if I changed the bot name, he'd also only respond to commands on that new name...facepalm.

I can confirm that this works as designed - if I set one user's Display name to the hubot name, hubot will not respond/hear any messages from that user =).

Thanks for your help. Also - small thing, but is it possible to add a small note to the README noting this, and that it's the Display name that it checks? E.g.:

#57

Also, I noticed that the hubot-hipchat adapter automatically sets the Hubot bot name to the user it logins as:

https://github.com/hipchat/hubot-hipchat/blob/89a6dbb792c8f8c6df5018e66272477309261eab/README.md

You can also remove the -n Hubot arg as the bot will automatically fetch its @mention name from HipChat.

Is this something that could be implemented with hubot-flowdock?

from hubot-flowdock.

Mumakil avatar Mumakil commented on July 26, 2024

Great that it works now and sorry for the confusing docs. I'll check the pr and we'll look into setting the name automatically!

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.