C# Class TwitchLib.Extensions.Client.SlowModeExt

Exibir arquivo Open project: swiftyspiffy/TwitchLib

Public Methods

Method Description
SlowModeOff ( this client ) : void

Disables slow mode.

SlowModeOff ( this client, string channel ) : void

Disables slow mode.

SlowModeOn ( this client, JoinedChannel channel, System.TimeSpan messageCooldown ) : void

Enables slow mode. messageCooldown must be less than 1 day.

SlowModeOn ( this client, System.TimeSpan messageCooldown ) : void

Enables slow mode. messageCooldown must be less than 1 day.

SlowModeOn ( this client, string channel, System.TimeSpan messageCooldown ) : void

Enables slow mode. messageCooldown must be less than 1 day.

SlowModeoff ( this client, JoinedChannel channel ) : void

Disables slow mode.

Method Details

SlowModeOff() public static method

Disables slow mode.
public static SlowModeOff ( this client ) : void
client this
return void

SlowModeOff() public static method

Disables slow mode.
public static SlowModeOff ( this client, string channel ) : void
client this
channel string String representation of which channel to send slowoff command to.
return void

SlowModeOn() public static method

Enables slow mode. messageCooldown must be less than 1 day.
public static SlowModeOn ( this client, JoinedChannel channel, System.TimeSpan messageCooldown ) : void
client this
channel TwitchLib.Models.Client.JoinedChannel JoinedChannel representation of which channel to send the slow command to.
messageCooldown System.TimeSpan TimeSpan object representing how long message cooldowns should be. May not exceed 1 day total.
return void

SlowModeOn() public static method

Enables slow mode. messageCooldown must be less than 1 day.
public static SlowModeOn ( this client, System.TimeSpan messageCooldown ) : void
client this
messageCooldown System.TimeSpan TimeSpan object representing how long message cooldowns should be. May not exceed 1 day total.
return void

SlowModeOn() public static method

Enables slow mode. messageCooldown must be less than 1 day.
public static SlowModeOn ( this client, string channel, System.TimeSpan messageCooldown ) : void
client this
channel string String representation of which channel to send the slow command to.
messageCooldown System.TimeSpan TimeSpan object representing how long message cooldowns should be. May not exceed 1 day total.
return void

SlowModeoff() public static method

Disables slow mode.
public static SlowModeoff ( this client, JoinedChannel channel ) : void
client this
channel TwitchLib.Models.Client.JoinedChannel JoinedChannel representation of which channel to send slowoff command to.
return void