1. Fix message.mentions

This commit is contained in:
March 7th
2022-03-30 18:09:23 +07:00
parent 4e870872f5
commit ab113790e3
2 changed files with 28 additions and 34 deletions

View File

@@ -11,8 +11,8 @@ const {
} = require('../util/Constants');
function parseResponse(res) {
if (res.headers.get('content-type').startsWith('application/json')) return res.json();
return res.buffer();
if (res.headers.get('content-type').startsWith('application/json')) return res.json();
return res.arrayBuffer(); // Cre: TheDevYellowy
}
function getAPIOffset(serverDate) {