Ejemplo n.º 1
0
 /// <summary>
 ///     Sets the gravity of the specified username (/giveeffect &lt;username&gt Gravity &lt;gravity/16&gt;).
 /// </summary>
 /// <param name="chat">The chat.</param>
 /// <param name="username">The username.</param>
 /// <param name="gravity">The gravity.</param>
 public static void SetGravity(this Chat chat, string username, Gravity gravity)
 {
     chat.GiveEffect(username, Effect.Gravity, (int)gravity);
 }
Ejemplo n.º 2
0
 /// <summary>
 ///     Mutes everyone (/mute *).
 /// </summary>
 /// <param name="chat">The chat.</param>
 public static void MuteEveryone(this Chat chat)
 {
     chat.Mute("*");
 }
Ejemplo n.º 3
0
 /// <summary>
 ///     Unmutes everyone (/unmute *).
 /// </summary>
 /// <param name="chat">The chat.</param>
 public static void UnmuteEveryone(this Chat chat)
 {
     chat.Unmute("*");
 }
Ejemplo n.º 4
0
 /// <summary>
 ///     Removes the background color (/bgcolor none).
 /// </summary>
 /// <param name="chat">The chat.</param>
 public static void RemoveBackgroundColor(this Chat chat)
 {
     chat.SetBackgroundColor("none");
 }