Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on startup while the bot is in a big server or upon joining one. #204

Open
Totti56 opened this issue Apr 29, 2021 · 5 comments
Open

Comments

@Totti56
Copy link

Totti56 commented Apr 29, 2021

Whenever the bot starts up while being in this big server or upon joining this big server it shows this huge list of the same error. After the error the bot just proceeds.
However, I think that this error is the cause of certain data missing in the database, seen whenever I do !leaderboard and obvious large invites aren't being shown.
image
So, my question is if there is any way to fix this problem? Thank you.

Oh and also, there was this one error where stage channels weren't recognized, not sure if this error can be fatal.

@Totti56 Totti56 changed the title Error on startup or upon joining a big server. Error on startup while the bot is in a big server or upon joining one. Apr 29, 2021
@Totti56
Copy link
Author

Totti56 commented May 3, 2021

It seems like I managed to fix this error.
However, it seems like this error was unrelated to the issue where when I use !leaderboard it still shows missing invites at the top invites, while they do exist in the database table. Any clue on why !leaderboard has missing stats?

@chaun14
Copy link

chaun14 commented May 3, 2021

I've also randomly the leaderboard missing entries issue. It seems like the leaderboard cache isn't working correctly when there are a large amount of data.

@Totti56
Copy link
Author

Totti56 commented May 3, 2021

I've also randomly the leaderboard missing entries issue. It seems like the leaderboard cache isn't working correctly when there are a large amount of data.

Gotcha! So, there is not really a way to fix this problem? :(

Also, I managed to fix the error from the top by updating the discord js wrapper Eris, because we have stage channels in our server which are new. However, by updating the package there are a few errors caused by that or warnings where the script does not recognize certain these old function names etc. idk. But yeah, my main issue I have at the moment is the leaderboard cache.

@chaun14
Copy link

chaun14 commented May 8, 2021

I've never really searched to fix this problem.

You can find the project with updated eris version in some forks.

PS: Eris is not a discord.js wrapper

@Totti56
Copy link
Author

Totti56 commented May 8, 2021

I've never really searched to fix this problem.

You can find the project with updated eris version in some forks.

PS: Eris is not a discord.js wrapper

Yes thank you, oops sorry I'm not really an expert in stuff like this lol, thank you for correcting me :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants