Nostrum.Util.maybe_to_atom

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

Specs

maybe_to_atom(atom() | String.t()) :: atom()

Attempts to convert a string to an atom.

If atom does not currently exist, will warn that we're doing an unsafe conversion.