addSilenced

open override fun addSilenced(addressPattern: String, duration: Duration, issuer: String?, reason: String?)

Temporarily adds a user to the silenced list using a pattern algorithm defined by the AccessManager implementation. While active, isSilenced should return true * .

Parameters

addressPattern

A pattern to match to an address

duration

Duration this grant is valid from the time of addition

issuer

The admin who issued the silence

reason

The internal reason for the silence