How to get server name by it's id? Discord.js

前端 未结 0 1504
刺人心
刺人心 2021-01-21 23:45

I am trying to get a server name by it\'s ID but I couldn\'t find the solution anywhere. So far I found this fetch function:

client.guilds.cache.get(SERVER_ID)


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