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

Wscoreboard function isn’t updating #342

Open
kalaiath opened this issue Jan 10, 2021 · 3 comments · May be fixed by #415
Open

Wscoreboard function isn’t updating #342

kalaiath opened this issue Jan 10, 2021 · 3 comments · May be fixed by #415

Comments

@kalaiath
Copy link

For some reason the command won’t pull any data for the week.

@aikaterna aikaterna transferred this issue from aikaterna/imgwelcome Jan 10, 2021
@Dark-lame
Copy link

sort of a follow-up on this issue. wscoreboard is updating for some users. We have multiple people from the current week on wscoreboard, but many people aren't and some users show on wscoreboard who havent participated in a year.

for reference, we are on adv 3.5.3

Here are images of the wscoreboard. We'll look at the user named pepper, who hasnt participated in an adventure in right around a year, but is still second on the wscoreboard. Also shown is a pic of active users who arent on the scoreboard
image
image
image

Nothing catastrophic has resulted from the inaccurate data, but it would be a nice feature if it were to work as intended.

@MeatyChunks
Copy link

Maybe there's a neater way, but it could be fixed by prefixing the year to the week so it never wraps around:

current_week = int(str(date.today().isocalendar()[0]) + str(date.today().isocalendar()[1]))

@Drapersniper
Copy link

Nah thats probably the cleanest way which wont require a significant rewrite

Drapersniper added a commit to Drapersniper/gobcog that referenced this issue Oct 2, 2022
…hich is caused do to a leap of the years.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants