Open dvcrn opened 8 years ago
@etcinit This is probably an accident due to usage of 'username' in https://api.slack.com/methods/chat.postMessage - If you don't specify it, it will use the bot user, which will make things consistent.
oh I didn't know that. Let me give that a try
Hm. Sounds like an easy fix. Will try to work on it during the weekend,
@etcinit if I get a chance I will PR it. I set this bot up at my company, lots of people <3 it times 5000. Thanks for the awesome work.
:+1:
On origin/develop
, I've added the option to tell the bot to only post messages through the RTM user. This should resolve the inconsistency problem.
However, there are two limitations from the Slack API:
true
, the bot will only be able to post on channels it is invited to.Relevant setting: https://github.com/etcinit/phabulous/blob/eae12b5c4edbe94bbbaadfce5007e5cd9cb22cd1/config/main.yml#L20
You should be able to pull that branch and try out building it. I'll include this changes on the next release.
@etcinit :D Awesome, thanks.
I have build the code on origin/develop
, kept the flag as true in the YAML file, but the bot is still not posting as itself.
@staii Noticed this too. @etcinit, it seems to not be working.
I noticed the as-user
flag wasn't being passed around everywhere it needed to be. ad0d74a should patch the bot to follow the as-user
setting for most messages.
@etcinit Thanks
I built after your latest commit, and it still doesn't work.
Let me know if I need to provide anything for debugging.
I've so far seen two messages, both weren't sent as the user. The user is definitely in the channel. One message was "Hi! Phabulous v2 reporting for duty!", and the other was an updated on a differential entry.
@staii: Thanks for the examples! I'll take a look soon.
@staii can you confirm that this issue still exists?
I just found this bot and gave it a spin though I'm a little bit confused about the way it handles:
In particular: