guild.preferredLocale

I have a problem. The server owner (I) uses the russian language, but for some reason I get "en-US"
const locale = msg.guild.preferredLocale
console.log(locale)
const locale = msg.guild.preferredLocale
console.log(locale)
3 Replies
d.js toolkit
d.js toolkit2y ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
d.js docs
d.js docs2y ago
property Guild#preferredLocale The preferred locale of the guild, defaults to en-US
vlad vollar
vlad vollarOP2y ago
So if guild isn’t community, locale be en-US?
Want results from more Discord servers?
Add your server