Skip to content

Commit b9e76d7

Browse files
fix: update trophy file path to include username for personalized trophies
1 parent f72f107 commit b9e76d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot_cmds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ async def trophy(self, ctx, trophy_arg: str = None):
877877
return
878878

879879
REPO_NAME = "QuantumChemist/QuantumChemist.github.io"
880-
FILE_PATH = "utils/trophy.svg"
880+
FILE_PATH = f"utils/trophy_{username}.svg"
881881

882882
timestamp = datetime.datetime.now().isoformat()
883883
COMMIT_MESSAGE = f"""🤖 Auto-update trophy.svg for @QuantumChemist by OpenGLaDOS Bot

0 commit comments

Comments
 (0)