add some custom settings.

This commit is contained in:
GiriNeko 2025-09-02 17:15:41 +08:00
parent fd80315876
commit 928e333e6b
2 changed files with 25 additions and 12 deletions

View file

@ -1,9 +1,6 @@
from .get_background import download_image_with_httpx_auto_redirect
import asyncio
# BACKGROUND_URL = "https://www.loliapi.com/acg/"
# DEFAULT_ICON = "./minecraft-creeper-face.png"
async def get_icon_image(url: str):
if url.startswith("http"):
icon_data = await download_image_with_httpx_auto_redirect(url)