poshbotio / PoshBot

Powershell-based bot framework
MIT License
536 stars 108 forks source link

Slack Threads: Is it possible to execute command in thread and have results post back to it? #228

Open clee1107 opened 3 years ago

clee1107 commented 3 years ago

Looking to release tools to support team in Slack. Heavily recommend group posting over DM and thus threads for discussions.

Expected Behavior

One scenario would be discussion on user unable to login in. With in thread a tech may run a userinfo command that displays AD info (Enabled\Locked status). Would want this to post to the thread and not channel level.

Current Behavior

Post comment in Slack Channel Execute command within thread of post Results returned to channel

Steps to Reproduce (for bugs)

  1. Post comment in Slack Channel
  2. Execute command within thread of post
  3. Results returned to channel

Context

Delaying deployment and utilization by support team, keeping limited active users to prevent noise.

joshcorr commented 3 years ago

I am pretty sure it already supports reading from threads. If you have Poshbot listening to keywords in a channel (I.e. !) it will even pickup keywords in threads.

Now do you want the comment to post back to the channel or to the thread where the command was executed?

clee1107 commented 3 years ago

Have it post back to thread command was executed from.

Sent from my iPhone

On Jun 5, 2021, at 12:34 PM, Joshua Corrick @.***> wrote:

 I am pretty sure it already supports reading from threads. If you have Poshbot listening to keywords in a channel (I.e. !) it will even pickup keywords in threads.

Now do you want the comment to post back to the channel or to the thread where the command was executed?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.