diff options
| author | Igor Tolmachov <me@igorek.dev> | 2022-07-09 01:13:20 +0900 |
|---|---|---|
| committer | Igor Tolmachov <me@igorek.dev> | 2022-07-09 01:13:20 +0900 |
| commit | 93067d9a91395c339ce55a111ce4b6e1020f0121 (patch) | |
| tree | 310012b67d6e31c3779e57cd50285650b2d83d13 /utils | |
| parent | 91a36ea91b7a1933e3f5933ca01396fee77c214a (diff) | |
| download | karpov_ai_bot-93067d9a91395c339ce55a111ce4b6e1020f0121.tar.gz karpov_ai_bot-93067d9a91395c339ce55a111ce4b6e1020f0121.zip | |
Теперь доступен не только в ананасах!
+ опрос на вступление человека
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/filters.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/utils/filters.py b/utils/filters.py index 58442ce..90b908a 100644 --- a/utils/filters.py +++ b/utils/filters.py | |||
| @@ -10,8 +10,6 @@ from shared import instances as ins | |||
| 10 | 10 | ||
| 11 | class message: | 11 | class message: |
| 12 | is_chat = f.ChatTypeFilter((t.ChatType.GROUP, t.ChatType.SUPERGROUP)) | 12 | is_chat = f.ChatTypeFilter((t.ChatType.GROUP, t.ChatType.SUPERGROUP)) |
| 13 | is_private = f.ChatTypeFilter(t.ChatType.PRIVATE) | ||
| 14 | is_reply = f.IsReplyFilter(True) | ||
| 15 | 13 | ||
| 16 | @staticmethod | 14 | @staticmethod |
| 17 | def chance(msg: t.Message): | 15 | def chance(msg: t.Message): |
