Can't send attachment from buffer

i made a bot that preview STL files, but got an error when trying to send the message, Code and error is below
Was this page helpful?