chore: fix lint

This commit is contained in:
Johnson Chen
2020-04-20 02:59:12 +10:00
parent 882dbcb4a0
commit 89bd207376

View File

@@ -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();
}
/**