Comments (5)
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.
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.
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.
@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.:
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.
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)
- 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.