mirror of
https://github.com/ION606/custom_discordjs.git
synced 2026-05-14 22:26:54 +00:00
Update client.js
This commit is contained in:
@@ -168,7 +168,7 @@ export class Client extends EventEmitter {
|
|||||||
return response;
|
return response;
|
||||||
}, function (err) {
|
}, function (err) {
|
||||||
console.log(err.response.data);
|
console.log(err.response.data);
|
||||||
// throw `REQUEST FAILED WITH STATUS CODE ${err.response.status} AND REASON "${JSON.stringify(err.response.data)}"`;
|
throw `REQUEST FAILED WITH STATUS CODE ${err.response.status} AND REASON "${JSON.stringify(err.response.data)}"`;
|
||||||
});
|
});
|
||||||
|
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
@@ -262,4 +262,4 @@ export class Client extends EventEmitter {
|
|||||||
|
|
||||||
|
|
||||||
//All client properties will be re-routed through this export
|
//All client properties will be re-routed through this export
|
||||||
export { gateWayIntents } from '../gateway/intents.js';
|
export { gateWayIntents } from '../gateway/intents.js';
|
||||||
|
|||||||
Reference in New Issue
Block a user