Some fixes
This commit is contained in:
parent
12791a0c3e
commit
6b3c273008
@ -458,11 +458,9 @@ public class JsonTests
|
||||
GuildId: 5678,
|
||||
Type: 2,
|
||||
Position: 3,
|
||||
Topic: "A very interesting topic",
|
||||
Nsfw: true,
|
||||
Bitrate: 420,
|
||||
ParentId: 5555,
|
||||
LastMessageId: 6969
|
||||
ParentId: 5555
|
||||
}
|
||||
});
|
||||
|
||||
@ -504,15 +502,12 @@ public class JsonTests
|
||||
Data:
|
||||
{
|
||||
Id: 922243411795390570,
|
||||
Name: "voice csennel",
|
||||
GuildId: 5678,
|
||||
Type: 2,
|
||||
Position: 3,
|
||||
Topic: "A very interesting topic",
|
||||
Nsfw: true,
|
||||
Bitrate: 420,
|
||||
ParentId: 5555,
|
||||
LastMessageId: 6969
|
||||
ParentId: 5555
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -10,5 +10,5 @@ internal class ChannelCreatePacket : DispatchPacket
|
||||
|
||||
[JsonRequired]
|
||||
[JsonPropertyName("d")]
|
||||
public required ChannelData Data { get; init; }
|
||||
public required GuildChannelData Data { get; init; }
|
||||
}
|
||||
@ -10,5 +10,5 @@ internal class ChannelUpdatePacket : DispatchPacket
|
||||
|
||||
[JsonRequired]
|
||||
[JsonPropertyName("d")]
|
||||
public required ChannelData Data { get; init; }
|
||||
public required GuildChannelData Data { get; init; }
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user