Skip to content

Commit

Permalink
Update telegraph.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanjiroop authored Aug 11, 2024
1 parent d285d03 commit c5293bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/helpers/telegraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async def telegraph(client, message):

try:
response = upload_file(file)
await msg.edit(f"Telegraph Link: `https://telegra.ph{response[0]['src']}`")
await msg.edit(f"Telegraph Link: `https://telegra.ph{response[0]}`")
except Exception as e:
await msg.edit(f"An error occurred: {e}\nreply use this comment /bug")
finally:
Expand Down

0 comments on commit c5293bf

Please sign in to comment.