-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathChannelConfig.cs
42 lines (38 loc) · 925 Bytes
/
ChannelConfig.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LunaIntegration
{
class ChannelConfig
{
public string name;
public UInt64 channelid;
public UInt64 roleid;
public List<UInt64> users;
public ChannelConfig(String name)
{
this.name = name;
users = new List<UInt64>();
}
public ChannelConfig(String name, UInt64 user)
{
this.name = name;
users = new List<UInt64>();
users.Add(user);
}
public void setChannelId(UInt64 channelid)
{
this.channelid = channelid;
}
public void setRoleId(UInt64 roleid)
{
this.roleid = roleid;
}
public void addUser(UInt64 userid)
{
users.Add(userid);
}
}
}