Skip to content

feat(levelup): add command to update prestige level emoji - #280

Merged
vertyco merged 1 commit into
mainfrom
claude/levelup-prestige-emoji-update-q9rcdn
Jun 29, 2026
Merged

feat(levelup): add command to update prestige level emoji#280
vertyco merged 1 commit into
mainfrom
claude/levelup-prestige-emoji-update-q9rcdn

Conversation

@vertyco

@vertyco vertyco commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Add [p]levelset prestige emoji to update the emoji of an
existing prestige level in place, instead of having to remove and
re-create the level.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_016nUXaNwKUjaJM3zgzgmUNu

Add [p]levelset prestige emoji <level> <emoji> to update the emoji of an
existing prestige level in place, instead of having to remove and
re-create the level.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016nUXaNwKUjaJM3zgzgmUNu
Copilot AI review requested due to automatic review settings June 29, 2026 03:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR adds an admin subcommand to edit the emoji for an already-configured prestige level in-place, reducing the need to remove and recreate prestige levels when only the emoji needs to change.

Changes:

  • Added [p]levelset prestige emoji <level> <emoji> to update the stored emoji string and URL for an existing prestige level.
  • Bumped the LevelUp cog version to 5.2.7.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
levelup/main.py Version bump to reflect the new feature release.
levelup/commands/admin.py Adds a new prestige subcommand to update an existing prestige level’s emoji configuration.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread levelup/commands/admin.py
Comment on lines +1745 to +1747
url = utils.get_twemoji(emoji) if isinstance(emoji, str) else emoji.url
conf.prestigedata[prestige].emoji_string = str(emoji)
conf.prestigedata[prestige].emoji_url = url
@vertyco
vertyco merged commit 4b70d42 into main Jun 29, 2026
1 check passed
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.

3 participants