User Mentions Issues

I've read several times on this server and elsewhere that there is an undocumented mention cap of 10 per message (including @ every and here as the 10th), but I am running into weird issues even after limiting the amount shown at a time. In the screenshot here I have a paginated list that looks perfectly fine on my desktop client, but on my mobile client it occasionally will show user ID numbers instead. Other server members have told me that even more names are showing up as ID's for them. I have tried both pulling the user from cache and also not. Pagination edits the message completely so I don't assume it would still retain old mentions somehow? Anyways, if anyone has any idea how I can fix this, that'd be amazing. (I know my mobile APK is old, but the others that have shown this to me are on newest release)
No description
2 Replies
d.js toolkit
d.js toolkit9mo ago
- 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 OP
CareFreeBomb
CareFreeBombOP9mo ago
npm ls discord.js: [email protected] node -v: v20.8.0 since the bot asked Correct But why would it vary wildly between which users show and don't on the same mobile client? In one slash command it works for say User A and C and then on the next use it shows User A and B
const cachedUser: User = args.client.users.cache.get(user.userID) as User;
const cachedUser: User = args.client.users.cache.get(user.userID) as User;
is there another way I should pull from cache? Is there some workaround to allow the client to resolve that information then? lol figures I have the pings disabled bot-wide anyways I guess I will have to just resort to listing the users as plain text then? As much as I didn't want to haha rip That is a comforting thought at least Been trying to figure this out for hours I appreciate the response Is there anything else I can do to give you kudos points or something or I can just mark it finished Wanted to check, you never know haha
Want results from more Discord servers?
Add your server