message.channel.fetchmessages не является функцией

// what you are trying to write was taken out of discord.js v12

message.channel.messages.fetch()
Clean Cardinal