I am not sure if this particular query is related to node.js or Linux in general. I appear to be having an issue where the bot crashes when a message includes an attachment:
I found out that that the code related to tmp is found in /src/data/attachments.js. However, I am not sure if it would be wise to alter the code to meet the solutions I found on Google. The reason why I say this is because the error does not appear at all on my second Linux system, so I am certain this has something to do with my system.
While changing attachmentStorage to discord rectifies this issue, I prefer attachments being stored locally.
Hey there,
I am not sure if this particular query is related to node.js or Linux in general. I appear to be having an issue where the bot crashes when a message includes an attachment:
I found out that that the code related to
tmp
is found in/src/data/attachments.js
. However, I am not sure if it would be wise to alter the code to meet the solutions I found on Google. The reason why I say this is because the error does not appear at all on my second Linux system, so I am certain this has something to do with my system.While changing
attachmentStorage
todiscord
rectifies this issue, I prefer attachments being stored locally.Any solution would be appreciated. Thank you!