athphane / userbot

Method used has been deprecated PYL-W1505
Bug risk
Major
4 months ago3 years old
Using deprecated method warn()
41                try:
42                    txt = re.sub(word, good_words[bad_words.index(word)], txt, flags=re.IGNORECASE)
43                except Exception as e:
44                    LOGS.warn(e)45
46            if message.caption:
47                if txt != message.caption:
Using deprecated method warn()
41                try:
42                    txt = re.sub(word, good_words[bad_words.index(word)], txt, flags=re.IGNORECASE)
43                except Exception as e:
44                    LOGS.warn(e)45
46            if message.caption:
47                if txt != message.caption: