Skip to content

Update slackbot.tcl#2

Open
rdica wants to merge 2 commits into
jasonroman:masterfrom
rdica:fix-msg
Open

Update slackbot.tcl#2
rdica wants to merge 2 commits into
jasonroman:masterfrom
rdica:fix-msg

Conversation

@rdica

@rdica rdica commented Mar 11, 2021

Copy link
Copy Markdown

When using Incoming-WebHook inside a custom app, username is ignored, thus $nick isn't passed, just the msg text is. This change creates $msg with $nick in the old style $nick: $msg format.

$channel is also ignored but not critical since the app you create is installed to the slack channel and the webhook url routes payload to that channel.

rdica added 2 commits March 10, 2021 22:32
When using `Incoming-WebHook` inside a custom app, `username` is ignored, thus `$nick` isn't passed, just the msg text is. This change creates `$msg` with `$nick` in the old style `$nick: $msg` format.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant