This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
Extend demo to show how to have a bot reply to threads without going into an infinite loop #9
Labels
enhancement
New feature or request
In the current demo, the bot will respond to messages in a channel, but it won't respond to threads.
I think a lot of conversational / message use-cases would want to have bots able to handle both of these cases.
I was able to get this to work by filtering out on the bots user_id directly (a comment states user_id == null filters out bots, but for some reason my bot had a valid user_id) but it might be nice to have this example show how to write a bot which can work in threads as well without an infinite loop of replies to itself.
I think a lot of natural language type bots might work better for this kind of flow?
The text was updated successfully, but these errors were encountered: