-
-
Notifications
You must be signed in to change notification settings - Fork 318
Expand file tree
/
Copy pathMemberEditModel.cs
More file actions
39 lines (34 loc) · 1.11 KB
/
Copy pathMemberEditModel.cs
File metadata and controls
39 lines (34 loc) · 1.11 KB
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
using System;
using System.Collections.Generic;
using DSharpPlus.Entities;
namespace DSharpPlus.Net.Models;
public class MemberEditModel : BaseEditModel
{
/// <summary>
/// New nickname
/// </summary>
public Optional<string> Nickname { internal get; set; }
/// <summary>
/// New roles
/// </summary>
public Optional<List<DiscordRole>> Roles { internal get; set; }
/// <summary>
/// Whether this user should be muted in voice channels
/// </summary>
public Optional<bool> Muted { internal get; set; }
/// <summary>
/// Whether this user should be deafened
/// </summary>
public Optional<bool> Deafened { internal get; set; }
/// <summary>
/// Voice channel to move this user to, set to null to kick
/// </summary>
public Optional<DiscordChannel> VoiceChannel { internal get; set; }
/// <summary>
/// Whether this member should have communication restricted
/// </summary>
public Optional<DateTimeOffset?> CommunicationDisabledUntil { internal get; set; }
internal MemberEditModel()
{
}
}