mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Initial commit, basic proxying working
This commit is contained in:
parent
c3f6becea4
commit
a6fbd869be
109 changed files with 3539 additions and 359 deletions
21
Myriad/Types/Webhook.cs
Normal file
21
Myriad/Types/Webhook.cs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
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; }
|
||||
}
|
||||
|
||||
public enum WebhookType
|
||||
{
|
||||
Incoming = 1,
|
||||
ChannelFollower = 2
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue