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

feat: add scoreboard for coubeh #117

Draft
wants to merge 97 commits into
base: master
Choose a base branch
from

Conversation

Alexandre-Chs
Copy link

@Alexandre-Chs Alexandre-Chs commented Oct 27, 2023

The functionality add a scoreboard of all users who have been coubeh.
See the scoreboard : /quoi-feur scoreboard
The scoreboard only displays the top 3 users who have been coubeh.

potb and others added 30 commits May 18, 2023 02:31
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Peïo Thibault <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Peïo Thibault <[email protected]>
Co-authored-by: Yanzi-dev <[email protected]>
Co-authored-by: Manuel <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@neolectron neolectron marked this pull request as draft October 28, 2023 17:14
@neolectron neolectron self-requested a review November 1, 2023 15:58
@Alexandre-Chs Alexandre-Chs marked this pull request as ready for review November 1, 2023 16:33
@Alexandre-Chs
Copy link
Author

I can't test with multiples account discord, so i don't know if all my features works perfectly or not..

renovate bot and others added 3 commits November 5, 2023 18:06
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
potb
potb previously approved these changes Nov 12, 2023
src/modules/quoiFeur/quoiFeurScoreboard.helpers.ts Outdated Show resolved Hide resolved
potb
potb previously approved these changes Nov 12, 2023
@potb potb enabled auto-merge (squash) November 12, 2023 23:27
@potb potb requested review from neolectron and luca-montaigut and removed request for neolectron November 12, 2023 23:28
@@ -25,6 +25,7 @@ interface CacheEntries {
onDemandChannels: string[];
quoiFeurChannels: string[];
recurringMessages: { id: string; channelId: string; frequency: Frequency; message: string }[];
score: { id: string; username: string; score: number }[];
Copy link
Contributor

@luca-montaigut luca-montaigut Nov 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's useless to store the username because it can change at any time. But you need to store the guild id.

Also, you can store score for coubeh and score for feur

PS: name the key scoreQuoiFeur or something more specific

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey ! Thank for review, working on it 👯‍♂️

auto-merge was automatically disabled November 13, 2023 17:01

Head branch was pushed to by a user without write access

@Alexandre-Chs Alexandre-Chs marked this pull request as draft November 13, 2023 17:02
@potb potb force-pushed the master branch 2 times, most recently from c69e2ce to a754471 Compare January 5, 2024 12:13
@potb
Copy link
Member

potb commented Jun 11, 2024

@Alexandre-Chs do we keep that opened ?

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

Successfully merging this pull request may close these issues.

10 participants