Skip to content

Commit 5fbf563

Browse files
committed
Correct comments in App/AsyncApp
1 parent 15b729d commit 5fbf563

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

slack_bolt/app/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ def message(
514514
def __call__(*args, **kwargs):
515515
functions = self._to_listener_functions(kwargs) if kwargs else list(args)
516516
# As of Jan 2021, most bot messages no longer have the subtype bot_message.
517-
# By contrast, messages posted using class app's bot token still have the subtype.
517+
# By contrast, messages posted using classic app's bot token still have the subtype.
518518
constraints = {"type": "message", "subtype": (None, "bot_message")}
519519
primary_matcher = builtin_matchers.event(constraints=constraints)
520520
middleware.insert(0, MessageListenerMatches(keyword))

slack_bolt/app/async_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ def message(
562562
def __call__(*args, **kwargs):
563563
functions = self._to_listener_functions(kwargs) if kwargs else list(args)
564564
# As of Jan 2021, most bot messages no longer have the subtype bot_message.
565-
# By contrast, messages posted using class app's bot token still have the subtype.
565+
# By contrast, messages posted using classic app's bot token still have the subtype.
566566
constraints = {"type": "message", "subtype": (None, "bot_message")}
567567
primary_matcher = builtin_matchers.event(
568568
constraints=constraints, asyncio=True

0 commit comments

Comments
 (0)