How do I convert a bitfield from permissionOverwrites.cache.get() .allow.bitfield into permissionOverwrites that can be used with permissionOverwrites.create()?
One is a boolean list of values while the other is a bitfield. Ideally, it would be great to fire the same bitfield back in with a new id.
Basically I need to copy the allow and deny from a specific role in a few channels and then add the same permissions to specific users.