Stats cmd not work if there is subscriberCount

Asked Oct 4, 2022·4 replies·Last activity 3 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

I was using stats command and i had subscriberCount on formated string and there comes an error message: "Error: Unknown Error Occurred. If problem persists, please contact support.". But when i remove subscriberCount on line then its work fine. So there must be something wrong on that subcriberCount formated string.

4 replies

Hey @Snowy Worm!

Would you mind sharing how you wrote your command with your subscriberCount?
We can't help blindfolded.

Thank you.

I don't see anything wrong with your code, so it could be that the authentication has expired, because you can only reach your own subscribers amount and not other's, so that means Nightbot has to get the authorization to fetch the data, which is done when you log in into Nightbot.

So what I'm suggesting to try is to go to your dashboard, log out if you're still logged in, and then log back in, and see if that solves your issue.

That works thank you very much, i just logged out and log back in and then command start working again 🙌