From 882dbcb4a04ae4e14c4f7e1b45e6bca4d3df84e0 Mon Sep 17 00:00:00 2001 From: Johnson Chen Date: Mon, 20 Apr 2020 02:51:03 +1000 Subject: [PATCH] fix: remove redundant .then() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Antonio Román --- src/structures/Guild.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/structures/Guild.js b/src/structures/Guild.js index e0422007e..139f9b862 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -764,8 +764,7 @@ class Guild extends Base { } return this.client.api .guilds(this.id, 'vanity-url') - .get() - .then(res => res); + .get(); } /**