You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're trying to develop a command for our HipChat bot that can be executed anywhere in a message.
For example, both of these should be acceptable to trigger the command:
(at)Chatbot deploy production
Lets go ahead and deploy (at)Chatbot deploy production
Since @respond_to was limited to messages beginning with the chatbot's handle, we used @hear. We expected will_is_mentioned to be set for both instances - Since both messages mention Will - but, if a message begins with the chatbot's handle, is_direct is set to True, otherwise will_is_mentioned is set. Both times Will was mentioned, so, the flag should reflect that.
The text was updated successfully, but these errors were encountered:
We're trying to develop a command for our HipChat bot that can be executed anywhere in a message.
For example, both of these should be acceptable to trigger the command:
Since
@respond_to
was limited to messages beginning with the chatbot's handle, we used@hear
. We expectedwill_is_mentioned
to be set for both instances - Since both messages mention Will - but, if a message begins with the chatbot's handle,is_direct
is set to True, otherwisewill_is_mentioned
is set. Both times Will was mentioned, so, the flag should reflect that.The text was updated successfully, but these errors were encountered: