Skip to content

Added the ability to send DMs from bot accounts#70

Closed
icelander wants to merge 3 commits into
mattermost-community:masterfrom
icelander:pjr-add-dms
Closed

Added the ability to send DMs from bot accounts#70
icelander wants to merge 3 commits into
mattermost-community:masterfrom
icelander:pjr-add-dms

Conversation

@icelander

Copy link
Copy Markdown

Summary

A customer had the requirement to send a DM from a bot account, so I added the ability. Any channel name that starts with an @ symbol that is also a bot user will have a DM sent with the message configured in the Action's ActionDirectMessagePost

…ing to channels

Signed-off-by: Paul Rothrock <paul@movetoiceland.com>
@icelander
icelander requested a review from jfrerich as a code owner May 24, 2021 22:27
@hanzei hanzei added 2: Dev Review Requires review by a core committer 3: QA Review Requires review by a QA tester labels May 25, 2021
@jfrerich
jfrerich requested a review from mickmister June 29, 2021 17:14

@jfrerich jfrerich left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @icelander! I have a couple of suggestions :)

Comment thread server/manifest.go
Comment thread server/welcomebot.go
Comment thread server/welcomebot.go

@mickmister mickmister left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @icelander 👍 Implementation of the feature looks good

I have a request that goes along with Jason's comment above, to have the extracted function return an error so there is only one log statement for the error

Comment thread server/welcomebot.go
Comment thread server/welcomebot.go
@mattermost-build

Copy link
Copy Markdown

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

@Kshitij-Katiyar

Copy link
Copy Markdown
Contributor

Closing the PR due to the PR #129

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2: Dev Review Requires review by a core committer 3: QA Review Requires review by a QA tester Lifecycle/1:stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants