cronokirby / alchemy

A discord library for Elixir
MIT License
152 stars 34 forks source link

[feature | non-breaking] Permissions.to_bitset/1 #73

Closed curz46 closed 5 years ago

curz46 commented 5 years ago

Alchemy.Permissions.to_list/1 exists, but there does not appear to be a Alchemy.Permissions.to_bitset/1 to go the other way around. Since, for example, editing channel permissions is most likely to be done with permission atoms rather than the bitset, this functionality is especially desirable.