message.delete is not a function (while deleting a reply to a command in DM)
On server the reply message is getting deleted normally but when I do it to replies in DM it fails and the program stops. Gives the following error:
TypeError: message.delete is not a functionI would use
deleteReply() but that does not work when I have edited the message with editReply(). deleteReply() works in DMs but only if I didn't edit the message.