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

Adding comparaison in ranking + improvements #114

Merged
merged 1 commit into from
Dec 31, 2024
Merged

Conversation

gylfirst
Copy link
Collaborator

@gylfirst gylfirst commented Dec 21, 2024

This pull request includes several changes, focusing on improving the ranking system for Hypixel Skyblock guilds. The changes include adding new features to display ranking changes, refactoring existing functions to be asynchronous, and enhancing the ranking message generation.

This PR implements #56.

Enhancements to ranking system:

  • chouette/tasks.py: Modified skyblock_guild_ranking to include old ranking data and display ranking changes using embeds.
  • chouette/utils/ranking.py: Added a new calculate_player_position function to determine if a player's ranking has changed and updated generate_ranking_message to use this function. [1] [2]

Refactoring functions to be asynchronous:

Display improvements:

  • chouette/utils/ranking.py: Enhanced display_ranking to create multiple embeds if the ranking data exceeds the character limit, ensuring better readability.

These changes improve the functionality and user experience of the ranking system by providing detailed ranking updates and making the codebase more efficient with asynchronous operations.

@gylfirst gylfirst added enhancement New feature or request python Pull requests that update Python code labels Dec 21, 2024
@gylfirst gylfirst self-assigned this Dec 21, 2024
@Zalk0 Zalk0 force-pushed the ranking_sb_comparaison branch from 8ec46b5 to 6c61d0e Compare December 31, 2024 14:00
@gylfirst gylfirst merged commit 0bd708c into dev Dec 31, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants