mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-11 08:10:10 +00:00
feat: upgrade to .NET 6, refactor everything
This commit is contained in:
parent
d28e99ba43
commit
1918c56937
314 changed files with 27954 additions and 27966 deletions
|
|
@ -1,21 +1,20 @@
|
|||
namespace Myriad.Types
|
||||
{
|
||||
public record Webhook
|
||||
{
|
||||
public ulong Id { get; init; }
|
||||
public WebhookType Type { get; init; }
|
||||
public ulong? GuildId { get; init; }
|
||||
public ulong ChannelId { get; init; }
|
||||
public User? User { get; init; }
|
||||
public string? Name { get; init; }
|
||||
public string? Avatar { get; init; }
|
||||
public string? Token { get; init; }
|
||||
public ulong? ApplicationId { get; init; }
|
||||
}
|
||||
namespace Myriad.Types;
|
||||
|
||||
public enum WebhookType
|
||||
{
|
||||
Incoming = 1,
|
||||
ChannelFollower = 2
|
||||
}
|
||||
public record Webhook
|
||||
{
|
||||
public ulong Id { get; init; }
|
||||
public WebhookType Type { get; init; }
|
||||
public ulong? GuildId { get; init; }
|
||||
public ulong ChannelId { get; init; }
|
||||
public User? User { get; init; }
|
||||
public string? Name { get; init; }
|
||||
public string? Avatar { get; init; }
|
||||
public string? Token { get; init; }
|
||||
public ulong? ApplicationId { get; init; }
|
||||
}
|
||||
|
||||
public enum WebhookType
|
||||
{
|
||||
Incoming = 1,
|
||||
ChannelFollower = 2
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue