From 49789d66f63518ca5a8ccb1effd0853601ce2aae Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Thu, 23 Sep 2021 20:24:04 -0600 Subject: [PATCH] guilds: add templates stub --- litecord/blueprints/guilds.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/litecord/blueprints/guilds.py b/litecord/blueprints/guilds.py index 9f0a04c..4ada15f 100644 --- a/litecord/blueprints/guilds.py +++ b/litecord/blueprints/guilds.py @@ -528,3 +528,10 @@ async def change_vanity_url(guild_id: int): ) return jsonify(await app.storage.get_invite(inv_code)) + + +@bp.route("//templates", methods=["GET"]) +async def get_guild_templates(guild_id: int): + """This is currently just a stub""" + + return jsonify([])