Skip to content

Commit 1c849b3

Browse files
committed
trying absolute path
1 parent ae8416a commit 1c849b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot/context_menus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ async def how_to_use_slash_command(self, interaction: Interaction, message: Mess
120120

121121
# Check if the file exists before trying to send it
122122

123-
file_path = "../images/slashcommand.png"
123+
file_path = "/usr/src/app/images/slashcommand.png"
124124
if os.path.exists(file_path):
125125
file = nextcord.File(file_path, filename="slashcommand.png")
126126
await interaction.response.send_message(content=message_content, file=file)

0 commit comments

Comments
 (0)