mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
refactor: remove some unused code
This commit is contained in:
parent
1918c56937
commit
04d78e3348
8 changed files with 17 additions and 204 deletions
|
|
@ -18,7 +18,7 @@ public record GatewayStatusUpdate
|
|||
}
|
||||
|
||||
public ulong? Since { get; init; }
|
||||
public ActivityPartial[]? Activities { get; init; }
|
||||
public Activity[]? Activities { get; init; }
|
||||
public UserStatus Status { get; init; }
|
||||
public bool Afk { get; init; }
|
||||
}
|
||||
|
|
@ -1,22 +1,17 @@
|
|||
namespace Myriad.Types
|
||||
namespace Myriad.Types;
|
||||
|
||||
public record Activity
|
||||
{
|
||||
public record Activity: ActivityPartial
|
||||
{
|
||||
}
|
||||
public string Name { get; init; }
|
||||
public ActivityType Type { get; init; }
|
||||
public string? Url { get; init; }
|
||||
}
|
||||
|
||||
public record ActivityPartial
|
||||
{
|
||||
public string Name { get; init; }
|
||||
public ActivityType Type { get; init; }
|
||||
public string? Url { get; init; }
|
||||
}
|
||||
|
||||
public enum ActivityType
|
||||
{
|
||||
Game = 0,
|
||||
Streaming = 1,
|
||||
Listening = 2,
|
||||
Custom = 4,
|
||||
Competing = 5
|
||||
}
|
||||
public enum ActivityType
|
||||
{
|
||||
Game = 0,
|
||||
Streaming = 1,
|
||||
Listening = 2,
|
||||
Custom = 4,
|
||||
Competing = 5
|
||||
}
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
namespace Myriad.Types
|
||||
{
|
||||
public static class Permissions
|
||||
{
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue