Skip to content

Wrap Discord status update in try-catch block #277

Wrap Discord status update in try-catch block

Wrap Discord status update in try-catch block #277

Triggered via push December 23, 2023 18:56
Status Success
Total duration 2m 5s
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/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/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/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/AttributeHelper.cs#L175
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/AttributeHelper.cs#L129
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/AttributeHelper.cs#L75
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/LavaManager/NowPlaying.cs#L142
Property 'UsernameWithGlobalName' is in experiment: Do not use in production. (https://docs.dcs.aitsys.dev/vs/analyzer/dcs/0101)