Skip to content

Add /primbon

Add /primbon #56

Triggered via pull request December 13, 2023 15:45
Status Success
Total duration 53s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: BotNet.Services/BotCommands/OpenAI.cs#L931
The variable 'exc' is declared but never used
build: BotNet/Controllers/ArtController.cs#L26
Possible null reference argument for parameter 'prompt' in 'Task<byte[]> ImageGenerationBot.GenerateImageAsync(string prompt, CancellationToken cancellationToken)'.
build: BotNet/Controllers/BotControllerBase.cs#L12
Non-nullable field '_botClient' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: BotNet/Controllers/BotControllerBase.cs#L13
Non-nullable field '_logger' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: BotNet/Controllers/BotControllerBase.cs#L14
Non-nullable field '_currentMessage' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: BotNet/Bot/UpdateHandler.cs#L135
Possible null reference argument for parameter 'message' in 'Task<Message?> OpenAI.ChatWithSarcasticBotAsync(ITelegramBotClient botClient, IServiceProvider serviceProvider, Message message, string callSign, CancellationToken cancellationToken)'.
build: BotNet/Controllers/BotControllerBase.cs#L12
Field 'BotControllerBase._botClient' is never assigned to, and will always have its default value null
build: BotNet/Controllers/BotControllerBase.cs#L13
Field 'BotControllerBase._logger' is never assigned to, and will always have its default value null
build: BotNet/Controllers/BotControllerBase.cs#L14
Field 'BotControllerBase._currentMessage' is never assigned to, and will always have its default value null
build: BotNet.Services/BotCommands/OpenAI.cs#L931
The variable 'exc' is declared but never used