Last analyzed f4ccc05 3 months ago
Default analysis branch is
Currently analyzing run
Method used has been deprecated PYL-W1505
Bug risk
3 months ago โ€” 3 months old
Using deprecated method warn()
19        if Config.LOGS_CHANNEL:
20            c_info = client.get_chat(chat_id=Config.LOGS_CHANNEL)
21            if c_info.type in (enums.ChatType.PRIVATE, enums.ChatType.BOT):
22                LOGGER.warn("A private chat can't be used ๐Ÿ˜")23                return False
24            return True
25        LOGGER.warn("No Log channel ID is given !")
Using deprecated method warn()
19        if Config.LOGS_CHANNEL:
20            c_info = client.get_chat(chat_id=Config.LOGS_CHANNEL)
21            if c_info.type in (enums.ChatType.PRIVATE, enums.ChatType.BOT):
22                LOGGER.warn("A private chat can't be used ๐Ÿ˜")23                return False
24            return True
25        LOGGER.warn("No Log channel ID is given !")
Using deprecated method warn()
22                LOGGER.warn("A private chat can't be used ๐Ÿ˜")
23                return False
24            return True
25        LOGGER.warn("No Log channel ID is given !")26        sys.exit()
27    except:
28        print(
Using deprecated method warn()
22                LOGGER.warn("A private chat can't be used ๐Ÿ˜")
23                return False
24            return True
25        LOGGER.warn("No Log channel ID is given !")26        sys.exit()
27    except:
28        print(