addOverwrite

open suspend fun addOverwrite(overwrite: PermissionOverwrite, reason: String? = null)(source)

Requests to add or replace a PermissionOverwrite to this entity.

Parameters

reason

the reason showing up in the audit log

Throws

if something went wrong during the request.