diff --git a/admission.py b/admission.py index 002b85a..250843b 100644 --- a/admission.py +++ b/admission.py @@ -26,7 +26,7 @@ def webhook_online(stream) -> None: data = {"username": f"{config.WEBHOOK_NAME} Online", "content": config.WEBHOOK_ONLINE} if config.is_avatar_ready(): - target_av = f"{stream[1]}/{stream[2]}.png" + target_av = f"{stream[1]}/{stream[2]}.png".lower() avatar = target_av if Path(config.WEBHOOK_AVATAR_PATH, target_av).is_file() else "default.png" data["avatar_url"] = f"{config.WEBHOOK_AVATAR_URL}/{avatar}"