You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I create a presence object which contains the 'flags' field containing the bitfield value, new RichPresence(client, presence_object) will throw an an BITFIELD_INVALID error. current solution is to use 'delete' the flags field from the presence object.
I am not sure if this an error by me, or perhaps the library, but this error did not previously occur.
Code sample
constpresence={}// assuming this is a complete presence objectconstnewPresence=newRichPresence(client,presence);// throws error due to flags field ;(
Package version
n/a
Node.js version
18
Operating system
ubuntu
Priority this issue should have
Low (slightly annoying)
Checklist
I have searched the open issues for duplicates.
I have shared the entire traceback.
I am using a user token (and it isn't visible in the code).
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Which package has the bugs?
The core library
Issue description
If I create a presence object which contains the 'flags' field containing the bitfield value, new RichPresence(client, presence_object) will throw an an BITFIELD_INVALID error. current solution is to use 'delete' the flags field from the presence object.
I am not sure if this an error by me, or perhaps the library, but this error did not previously occur.
Code sample
Package version
n/a
Node.js version
18
Operating system
ubuntu
Priority this issue should have
Low (slightly annoying)
Checklist
Additional Information
No response
The text was updated successfully, but these errors were encountered: