diff --git a/litecord/blueprints/guilds.py b/litecord/blueprints/guilds.py index 715d314..032d07a 100644 --- a/litecord/blueprints/guilds.py +++ b/litecord/blueprints/guilds.py @@ -253,7 +253,8 @@ async def _update_guild(guild_id): return jsonify(guild) -@bp.route('//delete', methods=['POST']) +@bp.route('/', methods=['DELETE']) +@bp.route('//delete', methods=['POST']) # this one is not actually documented, but it's used by Discord client async def delete_guild(guild_id): """Delete a guild.""" user_id = await token_check()