Get a Role without a Listener in Discord.js

前端 未结 0 1167
心在旅途
心在旅途 2020-12-11 07:45

I tried to get a Role by their ID in my Main File:

Information: bot is my new discord.Client

const guild = bot.guilds.cache.get("ID");    //          


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