Nostrum.Permission.to_bit

You're seeing just the function to_bit, go back to Nostrum.Permission module for more information.

Specs

to_bit(t()) :: bit()

Converts the given permission to a bit.

Examples

iex> Nostrum.Permission.to_bit(:administrator)
8