mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 18:13:29 +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
|
return this.client.api
|
||||||
.guilds(this.id, 'vanity-url')
|
.guilds(this.id, 'vanity-url')
|
||||||
.get()
|
.get();
|
||||||
.then(res => res);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user