Skip to content

feat(bot): named music session save/restore/list/delete - #489

Merged
LucasSantana-Dev merged 6 commits into
mainfrom
feature/named-sessions
Apr 7, 2026
Merged

LucasSantana-Dev merged 6 commits into
mainfrom
feature/named-sessions

test(bot): cover handleAutocomplete branches for session name lookup

e00f290
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Apr 7, 2026 in 42s

Annotations

Check warning on line 104 in packages/bot/src/utils/music/namedSessions.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=LucasSantana-Dev_Lucky&issues=AZ1lLyOHhX-kxWhes7e1&open=AZ1lLyOHhX-kxWhes7e1&pullRequest=489

Check warning on line 117 in packages/bot/src/utils/music/namedSessions.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=LucasSantana-Dev_Lucky&issues=AZ1lLyOHhX-kxWhes7e2&open=AZ1lLyOHhX-kxWhes7e2&pullRequest=489

Check warning on line 180 in packages/bot/src/utils/music/namedSessions.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=LucasSantana-Dev_Lucky&issues=AZ1lLyOHhX-kxWhes7e3&open=AZ1lLyOHhX-kxWhes7e3&pullRequest=489

Check warning on line 15 in packages/bot/src/functions/music/commands/session.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import of 'musicSessionSnapshotService'.

See more on https://sonarcloud.io/project/issues?id=LucasSantana-Dev_Lucky&issues=AZ1lLyJ1hX-kxWhes7ez&open=AZ1lLyJ1hX-kxWhes7ez&pullRequest=489

Check failure on line 66 in packages/bot/src/functions/music/commands/session.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 24 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=LucasSantana-Dev_Lucky&issues=AZ1lLyJ1hX-kxWhes7e0&open=AZ1lLyJ1hX-kxWhes7e0&pullRequest=489