Skip to content

fixing several issues

Codacy Production / Codacy Static Code Analysis required action Dec 9, 2024 in 0s

3 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 3
           

Complexity increasing per file
==============================
- Core/src/commands/player/UnlockCommand.ts  5
- Lib/src/packets/interaction/ReactionCollectorUnlock.ts  1
         

Clones added
============
- Core/src/commands/player/UnlockCommand.ts  5
- Lib/src/packets/interaction/ReactionCollectorUnlock.ts  8
- Discord/src/commands/player/UnlockCommand.ts  5
- Discord/src/commands/guild/GuildKickCommand.ts  3
         

See the complete overview on Codacy

Annotations

Check failure on line 181 in Discord/src/messages/DraftbotInteraction.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Discord/src/messages/DraftbotInteraction.ts#L181

Missing return type on function.

Check failure on line 192 in Discord/src/messages/DraftbotInteraction.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Discord/src/messages/DraftbotInteraction.ts#L192

Missing return type on function.

Check warning on line 237 in Discord/src/messages/DraftbotInteraction.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Discord/src/messages/DraftbotInteraction.ts#L237

Comments should not begin with a lowercase character.