How to continue a conversation without mentioning the bot in a thread? #1237
Unanswered
sheldonhull
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm guessing there's a way to do this based on events, but I'm not certain if there's any examples or patterns to get me started.
I'm using the
slacker
framework to wrap up much of go-slack for convenience, and have access to the slack client, socket-mode, and such through thisslack-go
package.I'd like to essentially start a threaded conversation with a command (no problem there), which replies in the thread, but the next step is not clear.
Now that a threaded message is posted based on the original command, I want any comments in that thread to continue to be answered as a conversation without any special command syntax. While the initial command is straight forward, any ideas on the proper eventing to process essentially what is like
listen | where Message.InThread == true && Message.OriginalPost == gptconversation | run command
.I have a rough idea it's based on consuming message events, maybe requiring every message to be processed and conditionally evaluated, but not certain. I'm running the bot in socketmode.
Beta Was this translation helpful? Give feedback.
All reactions