Moderation

C# Methods for Twitch > Moderation

TwitchAddBlockedTerm

Adds selected term to the Twitch blocked list

0.2.4
public bool TwitchAddBlockedTerm(string term)

TwitchAddModerator

public bool TwitchAddModerator(string userName)

TwitchAddVip

public bool TwitchAddVip(string userName)

TwitchApproveAutoHeldMessage

Approve a message held by Auto Mod

0.2.4
public bool TwitchApproveAutoHeldMessage(string messageId)

TwitchBanUser

public bool TwitchBanUser(string userName, string reason, bool bot = false)

TwitchBlockUser

public bool TwitchBlockUser(string userLogin, TwitchBlockContext context = None, TwitchBlockReason reason = None)

TwitchBlockUserById

public bool TwitchBlockUserById(string userId, TwitchBlockContext context = None, TwitchBlockReason reason = None)

TwitchDenyAutoHeldMessage

Deny a message held by Auto Mod

0.2.4
public bool TwitchDenyAutoHeldMessage(string messageId)

TwitchEmoteOnly

public void TwitchEmoteOnly(bool enabled = true)

TwitchFollowMode

public void TwitchFollowMode(bool enabled = true, int duration = 0)

TwitchGetBlockedTerms

Returns a list of terms currently blocked on the Broadcaster's Twitch Channel

0.2.5
public List<string> TwitchGetBlockedTerms()

TwitchRemoveBlockedTerm

Removes selected term from the Twitch blocked list

0.2.4
public bool TwitchRemoveBlockedTerm(string term)

TwitchRemoveModerator

public bool TwitchRemoveModerator(string userName)

TwitchRemoveVip

public bool TwitchRemoveVip(string userName)

TwitchSendShoutoutById

public bool TwitchSendShoutoutById(string userId)

TwitchSendShoutoutByLogin

public bool TwitchSendShoutoutByLogin(string userLogin)

TwitchSlowMode

public void TwitchSlowMode(bool enabled = true, int duration = 0)

TwitchSubscriberOnly

public void TwitchSubscriberOnly(bool enabled = true)

TwitchTimeoutUser

public bool TwitchTimeoutUser(string username, int duration, string reason, bool bot = false)

TwitchUnbanUser

public bool TwitchUnbanUser(string userName, bool bot = false)

TwitchUnblockUser

public bool TwitchUnblockUser(string userLogin)

TwitchUnblockUserById

public bool TwitchUnblockUserById(string userId)

TwitchWarnUser

Warns specified Twitch user for the given reason

0.2.4
public bool TwitchWarnUser(string userName, string reason)