Skip to content

Refactor code for readability and clarity #276

Refactor code for readability and clarity

Refactor code for readability and clarity #276

Triggered via push December 23, 2023 18:48
Status Success
Total duration 2m 26s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: src/Eventlistener/WelcomeMessage.cs#L50
The variable 'e' is declared but never used
build: src/Commands/Moderation/UserInfoCommand.cs#L41
The result of the expression is always 'true' since a value of type 'long' is never equal to 'null' of type 'long?'
build: src/Utils/ReasonTemplateResolver.cs#L69
The variable 'ex' is declared but never used
build: src/Utils/ReasonTemplateResolver.cs#L90
The variable 'ex' is declared but never used
build: src/Utils/Helpers.cs#L106
The variable 'e' is declared but never used
build: src/Utils/Helpers.cs#L128
The variable 'e' is declared but never used
build: src/Commands/AutoQuoting/AutoQuoteHelper.cs#L124
Property 'UsernameWithDiscriminator' is deprecated: We will internally use the GlobalName if a user is already migrated. This will be removed in future. Consider switching to UsernameWithGlobalName then. (https://docs.dcs.aitsys.dev/vs/analyzer/dcs/0102)
build: src/Utils/Ticket/TicketManagerHelper.cs#L204
Property 'UsernameWithDiscriminator' is deprecated: We will internally use the GlobalName if a user is already migrated. This will be removed in future. Consider switching to UsernameWithGlobalName then. (https://docs.dcs.aitsys.dev/vs/analyzer/dcs/0102)
build: src/Utils/Ticket/TicketManagerHelper.cs#L230
Property 'UsernameWithDiscriminator' is deprecated: We will internally use the GlobalName if a user is already migrated. This will be removed in future. Consider switching to UsernameWithGlobalName then. (https://docs.dcs.aitsys.dev/vs/analyzer/dcs/0102)
build: src/Utils/Ticket/TicketManagerHelper.cs#L282
Property 'UsernameWithDiscriminator' is deprecated: We will internally use the GlobalName if a user is already migrated. This will be removed in future. Consider switching to UsernameWithGlobalName then. (https://docs.dcs.aitsys.dev/vs/analyzer/dcs/0102)