mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-02 16:19:12 +00:00
23 lines
529 B
C#
23 lines
529 B
C#
using System.Collections.Generic;
|
|
using System.Linq;
|
|
|
|
namespace DiscordChatExporter.Core.Models
|
|
{
|
|
// https://discordapp.com/developers/docs/resources/guild#guild-member-object
|
|
|
|
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;
|
|
}
|
|
}
|
|
} |