msg.guild.roles.find不是一个函数

我真的不知道为什么会导致这个问题,为了使我的discord.js保持最新

TypeError: msg.guild.roles.find is not a function