diff options
| -rw-r--r-- | utils/filters.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/filters.py b/utils/filters.py index 9782a27..58442ce 100644 --- a/utils/filters.py +++ b/utils/filters.py | |||
| @@ -15,7 +15,7 @@ class message: | |||
| 15 | 15 | ||
| 16 | @staticmethod | 16 | @staticmethod |
| 17 | def chance(msg: t.Message): | 17 | def chance(msg: t.Message): |
| 18 | return ins.gen_chance.get(msg.chat.id, 10) <= randint(1, 100) | 18 | return ins.gen_chance.get(msg.chat.id, 10) >= randint(1, 100) |
| 19 | 19 | ||
| 20 | @staticmethod | 20 | @staticmethod |
| 21 | def has_text(msg: t.Message): | 21 | def has_text(msg: t.Message): |
