diff --git a/autobanbot.py b/autobanbot.py index 52630a2..feece93 100755 --- a/autobanbot.py +++ b/autobanbot.py @@ -29,6 +29,7 @@ async def new_msg(update, context, regexes): if __name__ == '__main__': logging.basicConfig(format='%(asctime)s|%(levelname)s|%(message)s', level=logging.INFO) + logging.getLogger("httpx").setLevel(logging.WARNING) logging.info("Starting") config = load_config() application = Application.builder().token(config["telegramApiKey"]).build()