mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 04:53:30 +01:00
chore: fix lint
This commit is contained in:
@@ -762,9 +762,7 @@ class Guild extends Base {
|
|||||||
if (!this.features.includes('VANITY_URL')) {
|
if (!this.features.includes('VANITY_URL')) {
|
||||||
return Promise.reject(new Error('VANITY_URL'));
|
return Promise.reject(new Error('VANITY_URL'));
|
||||||
}
|
}
|
||||||
return this.client.api
|
return this.client.api.guilds(this.id, 'vanity-url').get();
|
||||||
.guilds(this.id, 'vanity-url')
|
|
||||||
.get();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user