C# Class TwitchLib.Extensions.Client.ModExt

Exibir arquivo Open project: swiftyspiffy/TwitchLib

Public Methods

Method Description
Mod ( this client, JoinedChannel channel, string viewerToMod ) : void

Sends a command to make a specific viewer a moderator.

Mod ( this client, string viewerToMod ) : void

Sends a command to make a specific viewer a moderator.

Mod ( this client, string channel, string viewerToMod ) : void

Sends a command to make a specific viewer a moderator.

Unmod ( this client, JoinedChannel channel, string viewerToUnmod ) : void

Sends a command to remove moderator status from a specific viewer

Unmod ( this client, string viewerToUnmod ) : void

Sends a command to remove moderator status from a specific viewer

Unmod ( this client, string channel, string viewerToUnmod ) : void

Sends a command to remove moderator status from a specific viewer

Method Details

Mod() public static method

Sends a command to make a specific viewer a moderator.
public static Mod ( this client, JoinedChannel channel, string viewerToMod ) : void
client this
channel TwitchLib.Models.Client.JoinedChannel JoinedChannel representation of which channel to send the command to.
viewerToMod string Username of the viewer to make a moderator.
return void

Mod() public static method

Sends a command to make a specific viewer a moderator.
public static Mod ( this client, string viewerToMod ) : void
client this
viewerToMod string Username of the viewer to make a moderator.
return void

Mod() public static method

Sends a command to make a specific viewer a moderator.
public static Mod ( this client, string channel, string viewerToMod ) : void
client this
channel string String representation of which channel to send the command to.
viewerToMod string Username of the viewer to make a moderator.
return void

Unmod() public static method

Sends a command to remove moderator status from a specific viewer
public static Unmod ( this client, JoinedChannel channel, string viewerToUnmod ) : void
client this
channel TwitchLib.Models.Client.JoinedChannel JoinedChannel representation of which channel to send the command to.
viewerToUnmod string Username of the viewer to remove moderator status from.
return void

Unmod() public static method

Sends a command to remove moderator status from a specific viewer
public static Unmod ( this client, string viewerToUnmod ) : void
client this
viewerToUnmod string Username of the viewer to remove moderator status from.
return void

Unmod() public static method

Sends a command to remove moderator status from a specific viewer
public static Unmod ( this client, string channel, string viewerToUnmod ) : void
client this
channel string String representation of which channel to send the command to.
viewerToUnmod string Username of the viewer to remove moderator status from.
return void