harmonyland / harmony

An easy to use Discord API Library for Deno.
https://harmony.mod.land
MIT License
318 stars 48 forks source link

fix: interaction member permissions #308

Closed DjDeveloperr closed 2 years ago

DjDeveloperr commented 2 years ago

they should be set using interaction.member.permissions bitfield than calculating on our own using roles cache also fixes an issue with member cache where user object's fields are cleared