mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
chore: fix lint
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user