[Solved] Can I get discord server name without id or convert it from id to name – discord.JS


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;

solved Can I get discord server name without id or convert it from id to name – discord.JS