Replies: 1 comment 2 replies
-
Where is that ID coming from? Persistent storage? Is it a string (it needs to be) or a number at any point? If the latter, Discord ids are too big to fit into JS numbers, so they are truncated and will be invalid as ids (no exact id, no querying). If that's not the concern this needs a stack trace and debug logs (for example the guild ID coming in). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Which package is this bug report for?
discord.js
Issue description
I noticed this issue with my code, it's trying to pull a channel or a guild with id 1033xxx but there's no guild with that id in my system and my code only pulls guild info and members info, so not sure why it's showing that id in my logs.
Code sample
All my discord js calls:
discordMember.roles.add(roleToCheck)
Package version
14.3.0
Node.js version
v16.13.1
Operating system
No response
Priority this issue should have
Low (slightly annoying)
Which partials do you have configured?
Not applicable (subpackage bug)
Which gateway intents are you subscribing to?
Guilds
I have tested this issue on a development release
No response
Beta Was this translation helpful? Give feedback.
All reactions