mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
fix: remove redundant .then()
Co-Authored-By: Antonio Román <kyradiscord@gmail.com>
This commit is contained in:
@@ -764,8 +764,7 @@ class Guild extends Base {
|
||||
}
|
||||
return this.client.api
|
||||
.guilds(this.id, 'vanity-url')
|
||||
.get()
|
||||
.then(res => res);
|
||||
.get();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user