From 6b14d41c931f1310dd5355933d89d6000ef2d9d0 Mon Sep 17 00:00:00 2001 From: George Tsatsis Date: Tue, 31 Mar 2020 04:08:56 +0300 Subject: [PATCH] Possibly fix discovery-splashes icon get --- litecord/blueprints/icons.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/litecord/blueprints/icons.py b/litecord/blueprints/icons.py index ef38700..5c68100 100644 --- a/litecord/blueprints/icons.py +++ b/litecord/blueprints/icons.py @@ -109,3 +109,7 @@ async def _get_guild_banner(guild_id: int, icon_file: str): icon_hash, ext = splitext_(icon_file) return await send_icon("banner", guild_id, icon_hash, ext=ext) +@bp.route("/discovery-splashes//", methods=["GET"]) +async def _get_guild_banner(guild_id: int, icon_file: str): + icon_hash, ext = splitext_(icon_file) + return await send_icon("discovery-splash", guild_id, icon_hash, ext=ext) \ No newline at end of file