copy eslint + tslint from Discord.js (v13)
This commit is contained in:
@@ -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.arrayBuffer(); // Cre: TheDevYellowy
|
||||
if (res.headers.get('content-type').startsWith('application/json')) return res.json();
|
||||
return res.arrayBuffer(); // Cre: TheDevYellowy
|
||||
}
|
||||
|
||||
function getAPIOffset(serverDate) {
|
||||
|
Reference in New Issue
Block a user