discord.js check if message.author has role

前端 未结 0 905
挽巷
挽巷 2020-12-30 05:34

So I have this code and it keeps saying that property \'cache\' is undefined. Is there a way to fix this? Here is my code: const doggorole = message.guild.roles.fetch

相关标签:
回答
  • 消灭零回复
提交回复
热议问题