-
-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intents wrong value #2195
Labels
unconfirmed bug
A bug report that needs triaging
Comments
Can I help fix this in Pycord's code. |
|
Thank you. I'm doing that right now. |
Ahhh, yes I understand what you mean. There is a gap in the intents exponents. |
9 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
When creating new intents from the old one, it seems their values are different.
Reproduction Steps
See code below.
Minimal Reproducible Code
Expected Results
The printed values should be the same.
Actual Results
They are:
4161277
3243773
Intents
discord.Intents.default() used, no client used
System Information
(PyCord is on master branch)
Checklist
Additional Context
It's due to a gap between bit masks.
Bit masks without an assigned flag:
Since
.all
method just sets all the bits from the highest bit to the lowest, the unused bits also get set.The text was updated successfully, but these errors were encountered: