Nostrum.Api.edit_channel_permissions-exclamation-mark
You're seeing just the function
edit_channel_permissions-exclamation-mark
, go back to Nostrum.Api module for more information.
Link to this function
edit_channel_permissions!(channel_id, overwrite_id, permission_info, reason \\ nil)
View SourceSpecs
edit_channel_permissions!( integer(), integer(), %{ :type => String.t(), optional(:allow) => integer(), optional(:deny) => integer() }, Nostrum.Struct.Guild.AuditLogEntry.reason() ) :: no_return() | {:ok}
Same as edit_channel_permissions/3
, but raises Nostrum.Error.ApiError
in case of failure.