fix: remove redundant .then()

Co-Authored-By: Antonio Román <kyradiscord@gmail.com>
This commit is contained in:
Johnson Chen
2020-04-20 02:51:03 +10:00
committed by GitHub
parent 026a4e549f
commit 882dbcb4a0

View File

@@ -764,8 +764,7 @@ class Guild extends Base {
}
return this.client.api
.guilds(this.id, 'vanity-url')
.get()
.then(res => res);
.get();
}
/**