Skip to main content

mute

Function mute 

Source
pub fn mute(
    def_id: &str,
    minutes: u64,
    reason: &str,
    by: &str,
    now_ms: u64,
) -> Result<Mute, String>
Expand description

Mute def_id for minutes (1 to MAX_MUTE_MINUTES) from now_ms, replacing an earlier mute of it.