Skip to content

Commit 8914cf6

Browse files
fix: update trophy file path to use local file variable for dynamic path resolution
1 parent b9e76d7 commit 8914cf6

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 = f"utils/trophy_{username}.svg"
880+
FILE_PATH = f"utils/{local_file}"
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)