Browse Source

Added SendMode and SendTopic. Added ModeInfo class

master
Teknikode 8 years ago
parent
commit
775fe4d5c4
  1. 0
      IRC/IRCMethods.cs
  2. 15
      IRC/IRCTypes.cs

0
IRC/IRCMethods.cs

15
IRC/IRCTypes.cs

@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@ -24,6 +25,20 @@ namespace Combot @@ -24,6 +25,20 @@ namespace Combot
CTCP = 4
}
public class ChannelModeInfo
{
public ChannelMode Mode { get; set; }
public bool Set { get; set; }
public string Parameter { get; set; }
}
public class UserModeInfo
{
public UserMode Mode { get; set; }
public bool Set { get; set; }
public string Parameter { get; set; }
}
public enum ChannelMode
{
[Description("Admin")]

Loading…
Cancel
Save