[ad_1]
You can use msg.guild.name to access the name of the guild.
If you only have the ID of a guild, you can use:
let guild = bot.guilds.cache.get(id).name;
[ad_2]
solved Can I get discord server name without id or convert it from id to name – discord.JS