-
Notifications
You must be signed in to change notification settings - Fork 11k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slack like integrations #1175
Comments
@whiteBeatle Is this a possible duplicate for #202? |
Yes, duplicate! |
@marceloschmidt @gmsecrieru - from my understanding, @whiteBeatle already has an implementation that he wants us to comment on. @whiteBeatle - please let us know if this is the case, and where the branch might be (GitHub URL) ... we can definitely assign the task #202 to you (for now) - and start the discussion! |
@marceloschmidt @gmsecrieru @Sing-Li |
Implementation Services Attributes: Integration Attributes: Integration options Attributes: Github Handling integrations and webhooks: Generating messages for a room: Messages I have added new widgets to rocketchat-oembed for github and trello. These templates are appended to a message on view render. Note: After speaking with @Sing-Li i realize that using rocket.chat.ops to do the implementation would be better. I have tried to implement it with hubot at first and came across a few issues. These doubts regarding the implementation are below Doubts:
P.S Although this implementation works for now for my current need, i know this is not the right way to go about this. I am a newbie to meteor ( and nodejs too) and i am still going through rocketchat's code to see how its implemented. Any help for proper implementation will be great! Thanks! |
@whiteBeatle that all sounds awesome. Do you have a working version that we can see? |
what we want here is an option to choose bot name and image per message so it will look like from a normal user but then add a tag like "BOT". this should be clearly inside the chatops package |
Creating a user behind the scenes is the right way. That's the perfect way to give bots their own access levels, usernames, avatar, etc. Bots are like other users, so they need a users. Would be a disaster otherwize. I agree that they deserve a badge to show that they are a special kind of user, but nevertheless users. On that note, creating a single "bot" badge is a waste of resources. We must make something generic, so admins can create many types of badges. Maybe moderators would like a badge too, as admin may also have a badge. One of the big changes we did a while ago, was replace all arrays of strings for users lists for arrays of objects, so we could add some more details about each user. Now we have to finish that job (there are still some places with arrays of strings) and add this extra information when necessary. |
hm but isn't that designed already in slack api? I really don't think adding users for every unique name bot gives is a good idea. |
You absolutely need a user. Trust me on this one. You want to be able to open a direct room with that bot, or invite a specific bot to a particular room.. so every bot (not every bot script, this is vey important) that has a different username will get its own user. There is no other way. |
I would love to see those integrations in RocketChat. @engelgabriel I totally agree that you nee a user for that |
Features:
Integrations to start with?
I will attach separate issues for each of the integrations. But i believe the integration setup and other details should be discussed here, while they can be service specific.
Thanks.
The text was updated successfully, but these errors were encountered: