CRBT-Team/Purplet

View on GitHub
packages/purplet/src/hooks/mention-command.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function $mentionCommand has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function $mentionCommand(params: MentionCommandData) {
  return $merge([
    $gatewayEvent('MESSAGE_CREATE', async apiMessage => {
      const message = new Message(apiMessage);

Severity: Minor
Found in packages/purplet/src/hooks/mention-command.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status