Skip to content
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

Cannot mix BigInt and other types, use explicit conversions #1491

Closed
flav-code opened this issue Apr 13, 2024 · 4 comments · Fixed by #1495
Closed

Cannot mix BigInt and other types, use explicit conversions #1491

flav-code opened this issue Apr 13, 2024 · 4 comments · Fixed by #1495
Labels

Comments

@flav-code
Copy link
Contributor

flav-code commented Apr 13, 2024

There is an issue with the new channel system when using channel.permissionsOf(userId)

image

@bsian03
Copy link
Collaborator

bsian03 commented Apr 20, 2024

CNR. Can you send the channel's permission data as well as the result of Guild permissionsOf?

@flav-code
Copy link
Contributor Author

flav-code commented Apr 20, 2024

Hi,
It's a voice channel

Collection(5) [Map] {
  '766350012087009301' => PermissionOverwrite {
    allow: 268435472n,
    deny: 0,
    id: '766350012087009301',
    type: 0
  },
  '716399200484458507' => PermissionOverwrite {
    allow: 0n,
    deny: 0,
    id: '716399200484458507',
    type: 1
  },
  '1109149694938058913' => PermissionOverwrite {
    allow: 1048576n,
    deny: 0,
    id: '1109149694938058913',
    type: 0
  },
  '1180929587513929758' => PermissionOverwrite {
    allow: 1049600n,
    deny: 0,
    id: '1180929587513929758',
    type: 1
  },
  '699989534724849685' => PermissionOverwrite {
    allow: 0n,
    deny: 1048576n,
    id: '699989534724849685',
    type: 0
  },
  baseObject: [class PermissionOverwrite extends Permission],
  limit: undefined
}

@bsian03
Copy link
Collaborator

bsian03 commented Apr 20, 2024

Can you install bsian03/eris#af8fc35a2840d043b80762cd7049d1851feb0eef and see if that fixes it

@flav-code
Copy link
Contributor Author

It fixed my issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants