[Bot] Update Discord.NET and support multiple etokens #86
Annotations
1 error, 11 warnings, and 10 notices
inspect
Issues found.
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
inspect:
Bot/Clash/Coc.cs#L298
"[RedundantJumpStatement] Redundant control flow jump statement" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(298,10624)
|
inspect:
Bot/Clash/Phaser.cs#L61
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Phaser.cs(61,1875)
|
inspect:
Bot/Clash/Phaser.cs#L62
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Phaser.cs(62,1912)
|
inspect:
Bot/Discord/Cmds.cs#L108
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Cmds.cs(108,3030)
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "Bot".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
inspect:
Bot/Discord/Cmds.cs#L118
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Cmds.cs(118,3417)
|
inspect:
Bot/Discord/Dc.cs#L86
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Dc.cs(86,3072)
|
inspect:
Bot/Discord/Dc.cs#L93
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Dc.cs(93,3308)
|
inspect:
Bot/Sql/Db.cs#L8
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/Db.cs(8,233)
|
inspect:
Bot/Sql/Db.cs#L20
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/Db.cs(20,556)
|
inspect:
Bot/Clash/Coc.cs#L114
"[RedundantExplicitParamsArrayCreation] Redundant explicit collection creation in argument of 'params' parameter" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(114,4137)
|
inspect:
Bot/Clash/Coc.cs#L122
"[MoveLocalFunctionAfterJumpStatement] Put local function 'WaitRaidAsync' after 'return'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(122,4303)
|
inspect:
Bot/Clash/Coc.cs#L256
"[ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator] Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(256,9172)
|
inspect:
Bot/Clash/Coc.cs#L272
"[MemberCanBePrivate.Global] Method 'GetRaidSeasonAsync' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(272,9662)
|
inspect:
Bot/Clash/Coc.cs#L281
"[MoveLocalFunctionAfterJumpStatement] Put local function 'InitClanAsync' after 'return'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(281,10025)
|
inspect:
Bot/Clash/Coc.cs#L305
"[MoveLocalFunctionAfterJumpStatement] Put local function 'InitRaidAsync' after 'return'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(305,10800)
|
inspect:
Bot/Clash/Coc.cs#L314
"[RedundantExplicitParamsArrayCreation] Redundant explicit collection creation in argument of 'params' parameter" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(314,11119)
|
inspect:
Bot/Clash/Phaser.cs#L36
"[ForeachCanBeConvertedToQueryUsingAnotherGetEnumerator] Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Phaser.cs(36,1042)
|
inspect:
Bot/Clash/Phaser.cs#L45
"[ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator] Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Phaser.cs(45,1363)
|
inspect:
Bot/Clash/Phaser.cs#L246
"[MemberCanBePrivate.Global] Method 'IsDatetimeExpired' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Phaser.cs(246,8032)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Bot
Expired
|
8.76 MB |
|