Faulty example was faulty.

This commit is contained in:
Jacob Bom 2016-09-13 20:50:25 +02:00
parent 7ab007d8d4
commit 97bb04cd38

View file

@ -95,8 +95,8 @@ class Filters(object):
If you want AND filtering instead, you have to specify multiple of this filter in the If you want AND filtering instead, you have to specify multiple of this filter in the
`filters` attribute. Example: `filters` attribute. Example:
>>> MessageHandler([Filters.entities(TEXT_MENTION, MENTION), >>> MessageHandler([Filters.entities([TEXT_MENTION, MENTION]),
... Filters.entities(HASHTAG)], callback) ... Filters.entities([HASHTAG])], callback)
Will require either a one type of mention AND a hashtag in the message. Will require either a one type of mention AND a hashtag in the message.