python-discord-webhook icon indicating copy to clipboard operation
python-discord-webhook copied to clipboard

No Reading last line from attached file

Open yousafriaz opened this issue 4 years ago • 1 comments

I am trying to atached a text file with open("datasets/uploads/discord.txt", "rb") as f: webhook.add_file(file=f.read(), filename='discord.txt') But every time it does not print last lines in the file

yousafriaz avatar Oct 20 '21 18:10 yousafriaz

Would you mind pasting your entire code any error messages you are getting? Are you trying to print the entire file? or just the last line?

Vault108 avatar Nov 01 '21 07:11 Vault108