This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Description
All of a sudden within the last couple weeks sometime, any time I try to get any stats for a console player it just errors out saying
Error: 401 Stripped in prod
at handleResponse (C:\DiscordBots\tombbot-esm-rewrite\node_modules\r6api.js\dist\fetch.js:38:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.execute (file:///C:/DiscordBots/tombbot-esm-rewrite/commands/stat-track/r6stats.js:34:24)
at async Object.execute (file:///C:/DiscordBots/tombbot-esm-rewrite/events/interactionCreate.js:27:5)
R6API.findByUsername() works fine and gets the user but anything other than that like R6API.getStats() and everything else errors out, I've tried using the Player.id and Player.userId but both throw the same error.
R6API.getUserSeasonalv2() works for console users but all stats show as 0 for platformCrossplay: 'console', boardSlug: 'ranked' as well.
Might have something to do with cross-play, progression between PlayStation and Xbox now?