dev: using official version of discord.net

docs: upped version to 5.1.5
dev: removed nuget.config as we no longer rely on myget
dev: Fixed some build warnings
This commit is contained in:
Kwoth
2024-08-01 02:36:49 +00:00
parent 0df3c1a4a1
commit 2c3ada4710
9 changed files with 110 additions and 55 deletions

View File

@@ -5,11 +5,11 @@ namespace NadekoBot.Modules.Games.Common.ChatterBot;
public class OpenAiApiMessage
{
[JsonPropertyName("role")]
public string Role { get; init; }
public required string Role { get; init; }
[JsonPropertyName("content")]
public string Content { get; init; }
public required string Content { get; init; }
[JsonPropertyName("name")]
public string Name { get; init; }
public required string Name { get; init; }
}