Skip to content

Commit

Permalink
Merge pull request #44 from danblock97/ASTRO-2-add-release-notes-to-g…
Browse files Browse the repository at this point in the history
…it-hub-readme-md-command

feat: update README and help command for League of Legends enhancements
  • Loading branch information
danblock97 authored Feb 1, 2025
2 parents 3e810eb + 62ebbf8 commit f343ecc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
### AstroStats v1.6.2
### AstroStats v1.7.2

## 🎮 Bug Fix
## 🎮 Main Updates

- **Resolved Pet Battles Response Error**:
- Fixed the issue where the bot would throw a 'Cannot mix embed and embeds' or 'InteractionResponded' error "
"during pet battles. The commands now properly handle embeds and follow-up messages.
- **League of Legends**:
- League commands have been grouped via /league for profile and match history.
- The Live Game button has been removed in place for direct checking upon calling /league profile
- The new /league championmastery command will show your top 10 most played champions!

Thank you for using AstroStats! We’re excited for the new season and will continue to bring you the best Discord Bot experience.
2 changes: 1 addition & 1 deletion commands/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def build_help_embed(guild_count: int) -> discord.Embed:
"**Apex Legends Lifetime Stats**\n"
"`/apex <platform> <username>`\n\n"
"**LoL Player Stats**\n"
"`/league <Summoner#0001>`\n\n"
"`/league profile`, `/league championmastery`\n\n"
"**TFT Player Stats**\n"
"`/tft <Summoner#0001>`\n\n"
"**Fortnite Player Stats**\n"
Expand Down
12 changes: 5 additions & 7 deletions commands/show_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@
from utils.embeds import get_conditional_embed

LATEST_UPDATES = (
"**Version 1.7.1**:\n"
"**Version 1.7.2**:\n"
"**🎮 Main Update**\n\n"
"- **Pet Battles**\n"
" - Pet Battles has been refactored to improve performance.\n"
"- **Squib Games**\n"
" - Slight improvements made to Squib Games to improve suspense and server related users.\n"
"- **Horoscope**\n"
" - Removed the need to manually fetch a star rating to avoid interaction issues.\n"
"- **League of Legends**\n"
" - League commands have been grouped via /league for profile and match history\n"
" - The Live Game button has been removed in place for direct checking upon calling /league profile\n"
" - The new /league championmastery command will show your top 10 most played champions!\n"
)

async def show_update(interaction: discord.Interaction):
Expand Down

0 comments on commit f343ecc

Please sign in to comment.