[][src]Function twitchchat::commands::ban

pub fn ban<'a>(
    channel: &'a str,
    username: &'a str,
    reason: impl Into<Option<&'a str>>
) -> Ban<'a>

Permanently prevent a user from chatting.

Reason is optional and will be shown to the target user and other moderators.

Use unban to remove a ban.