question about a function
In one of my bots, i have a function named LowerRole (basically detects the lowest of the roles of a user) but when github copilet suggests stuff, i see "Locale" is that a location? cause i dont want my bot giving out others locations :SkullSanta:
7 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by staffit likely refers to a language, but without any info on what's being suggested for what method or object, it's hard to say for sure whether it's even giving a valid suggestion

that's actually coming from intellisense, not copilot, and it's just an enum for the documented locales (languages) in discord
which is to say, it's not even in reference to a specific user like
<Interaction>.locale
for exampleahhhh ok