Update client.js

This commit is contained in:
2024-05-16 09:58:55 -07:00
committed by GitHub
parent eff76b3960
commit 3d8f989a57
+2 -2
View File
@@ -168,7 +168,7 @@ export class Client extends EventEmitter {
return response;
}, function (err) {
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) => {
@@ -262,4 +262,4 @@ export class Client extends EventEmitter {
//All client properties will be re-routed through this export
export { gateWayIntents } from '../gateway/intents.js';
export { gateWayIntents } from '../gateway/intents.js';