message.channel.fetchMessages n'est pas une fonction

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

message.channel.messages.fetch()
Clean Cardinal