From 89bd20737681343dd041a1e5d029f86d0b4deb25 Mon Sep 17 00:00:00 2001 From: Johnson Chen Date: Mon, 20 Apr 2020 02:59:12 +1000 Subject: [PATCH] chore: fix lint --- src/structures/Guild.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/structures/Guild.js b/src/structures/Guild.js index 139f9b862..f7c6b76d0 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -762,9 +762,7 @@ class Guild extends Base { if (!this.features.includes('VANITY_URL')) { return Promise.reject(new Error('VANITY_URL')); } - return this.client.api - .guilds(this.id, 'vanity-url') - .get(); + return this.client.api.guilds(this.id, 'vanity-url').get(); } /**