Skip to content

Commit

Permalink
version 1.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Oct 13, 2021
1 parent d2d9ffd commit 81d0e7a
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 20 deletions.
48 changes: 39 additions & 9 deletions docs/api-docs/slack_bolt/app/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -820,9 +820,19 @@ <h1 class="title">Module <code>slack_bolt.app.app</code></h1>

def __call__(*args, **kwargs):
functions = self._to_listener_functions(kwargs) if kwargs else list(args)
# As of Jan 2021, most bot messages no longer have the subtype bot_message.
# By contrast, messages posted using classic app&#39;s bot token still have the subtype.
constraints = {&#34;type&#34;: &#34;message&#34;, &#34;subtype&#34;: (None, &#34;bot_message&#34;)}
constraints = {
&#34;type&#34;: &#34;message&#34;,
&#34;subtype&#34;: (
# In most cases, new message events come with no subtype.
None,
# As of Jan 2021, most bot messages no longer have the subtype bot_message.
# By contrast, messages posted using classic app&#39;s bot token still have the subtype.
&#34;bot_message&#34;,
# If an end-user posts a message with &#34;Also send to #channel&#34; checked,
# the message event comes with this subtype.
&#34;thread_broadcast&#34;,
),
}
primary_matcher = builtin_matchers.event(constraints=constraints)
middleware.insert(0, MessageListenerMatches(keyword))
return self._register_listener(
Expand Down Expand Up @@ -2271,9 +2281,19 @@ <h2 id="args">Args</h2>

def __call__(*args, **kwargs):
functions = self._to_listener_functions(kwargs) if kwargs else list(args)
# As of Jan 2021, most bot messages no longer have the subtype bot_message.
# By contrast, messages posted using classic app&#39;s bot token still have the subtype.
constraints = {&#34;type&#34;: &#34;message&#34;, &#34;subtype&#34;: (None, &#34;bot_message&#34;)}
constraints = {
&#34;type&#34;: &#34;message&#34;,
&#34;subtype&#34;: (
# In most cases, new message events come with no subtype.
None,
# As of Jan 2021, most bot messages no longer have the subtype bot_message.
# By contrast, messages posted using classic app&#39;s bot token still have the subtype.
&#34;bot_message&#34;,
# If an end-user posts a message with &#34;Also send to #channel&#34; checked,
# the message event comes with this subtype.
&#34;thread_broadcast&#34;,
),
}
primary_matcher = builtin_matchers.event(constraints=constraints)
middleware.insert(0, MessageListenerMatches(keyword))
return self._register_listener(
Expand Down Expand Up @@ -3614,9 +3634,19 @@ <h2 id="args">Args</h2>

def __call__(*args, **kwargs):
functions = self._to_listener_functions(kwargs) if kwargs else list(args)
# As of Jan 2021, most bot messages no longer have the subtype bot_message.
# By contrast, messages posted using classic app&#39;s bot token still have the subtype.
constraints = {&#34;type&#34;: &#34;message&#34;, &#34;subtype&#34;: (None, &#34;bot_message&#34;)}
constraints = {
&#34;type&#34;: &#34;message&#34;,
&#34;subtype&#34;: (
# In most cases, new message events come with no subtype.
None,
# As of Jan 2021, most bot messages no longer have the subtype bot_message.
# By contrast, messages posted using classic app&#39;s bot token still have the subtype.
&#34;bot_message&#34;,
# If an end-user posts a message with &#34;Also send to #channel&#34; checked,
# the message event comes with this subtype.
&#34;thread_broadcast&#34;,
),
}
primary_matcher = builtin_matchers.event(constraints=constraints)
middleware.insert(0, MessageListenerMatches(keyword))
return self._register_listener(
Expand Down
48 changes: 39 additions & 9 deletions docs/api-docs/slack_bolt/app/async_app.html
Original file line number Diff line number Diff line change
Expand Up @@ -868,9 +868,19 @@ <h1 class="title">Module <code>slack_bolt.app.async_app</code></h1>

def __call__(*args, **kwargs):
functions = self._to_listener_functions(kwargs) if kwargs else list(args)
# As of Jan 2021, most bot messages no longer have the subtype bot_message.
# By contrast, messages posted using classic app&#39;s bot token still have the subtype.
constraints = {&#34;type&#34;: &#34;message&#34;, &#34;subtype&#34;: (None, &#34;bot_message&#34;)}
constraints = {
&#34;type&#34;: &#34;message&#34;,
&#34;subtype&#34;: (
# In most cases, new message events come with no subtype.
None,
# As of Jan 2021, most bot messages no longer have the subtype bot_message.
# By contrast, messages posted using classic app&#39;s bot token still have the subtype.
&#34;bot_message&#34;,
# If an end-user posts a message with &#34;Also send to #channel&#34; checked,
# the message event comes with this subtype.
&#34;thread_broadcast&#34;,
),
}
primary_matcher = builtin_matchers.event(
constraints=constraints, asyncio=True
)
Expand Down Expand Up @@ -2245,9 +2255,19 @@ <h2 id="args">Args</h2>

def __call__(*args, **kwargs):
functions = self._to_listener_functions(kwargs) if kwargs else list(args)
# As of Jan 2021, most bot messages no longer have the subtype bot_message.
# By contrast, messages posted using classic app&#39;s bot token still have the subtype.
constraints = {&#34;type&#34;: &#34;message&#34;, &#34;subtype&#34;: (None, &#34;bot_message&#34;)}
constraints = {
&#34;type&#34;: &#34;message&#34;,
&#34;subtype&#34;: (
# In most cases, new message events come with no subtype.
None,
# As of Jan 2021, most bot messages no longer have the subtype bot_message.
# By contrast, messages posted using classic app&#39;s bot token still have the subtype.
&#34;bot_message&#34;,
# If an end-user posts a message with &#34;Also send to #channel&#34; checked,
# the message event comes with this subtype.
&#34;thread_broadcast&#34;,
),
}
primary_matcher = builtin_matchers.event(
constraints=constraints, asyncio=True
)
Expand Down Expand Up @@ -3615,9 +3635,19 @@ <h2 id="args">Args</h2>

def __call__(*args, **kwargs):
functions = self._to_listener_functions(kwargs) if kwargs else list(args)
# As of Jan 2021, most bot messages no longer have the subtype bot_message.
# By contrast, messages posted using classic app&#39;s bot token still have the subtype.
constraints = {&#34;type&#34;: &#34;message&#34;, &#34;subtype&#34;: (None, &#34;bot_message&#34;)}
constraints = {
&#34;type&#34;: &#34;message&#34;,
&#34;subtype&#34;: (
# In most cases, new message events come with no subtype.
None,
# As of Jan 2021, most bot messages no longer have the subtype bot_message.
# By contrast, messages posted using classic app&#39;s bot token still have the subtype.
&#34;bot_message&#34;,
# If an end-user posts a message with &#34;Also send to #channel&#34; checked,
# the message event comes with this subtype.
&#34;thread_broadcast&#34;,
),
}
primary_matcher = builtin_matchers.event(
constraints=constraints, asyncio=True
)
Expand Down
2 changes: 1 addition & 1 deletion docs/api-docs/slack_bolt/version.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="title">Module <code>slack_bolt.version</code></h1>
<span>Expand source code</span>
</summary>
<pre><code class="python">&#34;&#34;&#34;Check the latest version at https://pypi.org/project/slack-bolt/&#34;&#34;&#34;
__version__ = &#34;1.9.2&#34;</code></pre>
__version__ = &#34;1.9.3&#34;</code></pre>
</details>
</section>
<section>
Expand Down
2 changes: 1 addition & 1 deletion slack_bolt/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Check the latest version at https://pypi.org/project/slack-bolt/"""
__version__ = "1.9.2"
__version__ = "1.9.3"

0 comments on commit 81d0e7a

Please sign in to comment.