C# Class TwitchLib.Extensions.Client.SlowModeExt

Afficher le fichier Open project: swiftyspiffy/TwitchLib

Méthodes publiques

Méthode 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 méthode

Disables slow mode.
public static SlowModeOff ( this client ) : void
client this
Résultat void

SlowModeOff() public static méthode

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.
Résultat void

SlowModeOn() public static méthode

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.
Résultat void

SlowModeOn() public static méthode

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.
Résultat void

SlowModeOn() public static méthode

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.
Résultat void

SlowModeoff() public static méthode

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.
Résultat void