A try to fix bot scrobbling (I have no idea what I do here) #2423
Annotations
11 warnings
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build:
src/FMBot.Bot/TextCommands/UserCommands.cs#L628
Unreachable code detected
|
build:
src/FMBot.Bot/TextCommands/StaticCommands.cs#L375
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/FMBot.Bot/Services/GameService.cs#L753
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/FMBot.Bot/SlashCommands/PlaySlashCommands.cs#L102
The variable 'emoteReactions' is assigned but its value is never used
|
build:
src/FMBot.Bot/Services/Guild/WebhookService.cs#L45
'WebClient.WebClient()' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
|
build:
src/FMBot.Bot/Services/ImportService.cs#L116
The variable 'e' is declared but never used
|
build:
src/FMBot.Bot/Services/SupporterService.cs#L244
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/FMBot.Bot/Services/TemplateService.cs#L431
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/FMBot.Bot/Services/TemplateService.cs#L436
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/FMBot.Bot/Services/TemplateService.cs#L441
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|