mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
fix(lint): RESTManager warning (#4796)
Co-authored-by: Papaia <43409674+ItsPapaia@users.noreply.github.com>
This commit is contained in:
@@ -60,6 +60,10 @@ class RESTManager {
|
|||||||
return this.push(handler, apiRequest);
|
return this.push(handler, apiRequest);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get endpoint() {
|
||||||
|
return this.client.options.http.api;
|
||||||
|
}
|
||||||
|
|
||||||
set endpoint(endpoint) {
|
set endpoint(endpoint) {
|
||||||
this.client.options.http.api = endpoint;
|
this.client.options.http.api = endpoint;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user