Permissions are stored within a 53-bit integer and are calculated using bitwise operations.
Changed all usages of Int with Permissions to Int64. While I don't believe Discord currently uses all 53 bits, its safer to be future proof incase they ever do. See https://github.com/Xh4H/Discord.jl/issues/15 for why this needs to be explicit.
According to Discord docs
Changed all usages of Int with Permissions to Int64. While I don't believe Discord currently uses all 53 bits, its safer to be future proof incase they ever do. See https://github.com/Xh4H/Discord.jl/issues/15 for why this needs to be explicit.