Skip to content

Commit

Permalink
optimize filters supported types
Browse files Browse the repository at this point in the history
  • Loading branch information
rking32 committed Aug 26, 2020
1 parent 70a67a3 commit 3171c10
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions userge/plugins/utils/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
FILTERS_CHATS = Filters.create(lambda _, query: query.chat.id in FILTERS_DATA)

_SUPPORTED_TYPES = (":audio:", ":video:", ":photo:", ":document:",
":sticker:", ":animation:", ":game:", ":voice:",
":video_note:", ":media:", ":contact:", ":media_group:",
":location:", ":venue:", ":web_page:", ":poll:",
":game_high_score:", ":via_bot:", ":service:",
":mentioned:", ":edited:", ":new_chat_title:",
":new_chat_photo:", ":delete_chat_photo:", ":pinned_message:")
":sticker:", ":animation:", ":voice:", ":video_note:",
":media:", ":game:", ":contact:", ":location:",
":venue:", ":web_page:", ":poll:", ":via_bot:",
":forward_date:", ":mentioned:", ":service:",
":media_group_id:", ":game_high_score:", ":pinned_message:",
":new_chat_title:", ":new_chat_photo:", ":delete_chat_photo:")


def _filter_updater(chat_id: int, name: str, message_id: int) -> None:
Expand Down

0 comments on commit 3171c10

Please sign in to comment.