mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-21 06:11:28 +00:00
Add support for Guild Member object & included data (#279)
This commit is contained in:
20
DiscordChatExporter.Core.Models/Member.cs
Normal file
20
DiscordChatExporter.Core.Models/Member.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace DiscordChatExporter.Core.Models
|
||||
{
|
||||
public class Member
|
||||
{
|
||||
public string UserId { get; }
|
||||
public string? Nick { get; }
|
||||
|
||||
public IReadOnlyList<string> Roles { get; }
|
||||
|
||||
public Member(string userId, string? nick, IReadOnlyList<string> roles)
|
||||
{
|
||||
UserId = userId;
|
||||
Nick = nick;
|
||||
Roles = roles;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user