File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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 ))
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments