Skip to content

Commit

Permalink
update handling for reproduction command
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperchupuDev committed Sep 13, 2024
1 parent a5025f6 commit 80ea017
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { type APIInteraction, InteractionResponseType } from 'discord-api-types/
import { PlatformAlgorithm, isValidRequest } from 'discord-verify';
import { onPluginsSlashCommand } from './commands/arewepluginsyet.js';
import { onLintRuleAutocomplete, onLintRuleSlashCommand } from './commands/lint-rule.js';
import { onReproductionSlashCommand } from './commands/reproduction.js';
import { onSupportedLanguagesSlashCommand } from './commands/supported-languages.js';
import { onTestSlashCommand } from './commands/test.js';
import { handleGitHubWebhook } from './gh-webhook/github.js';
Expand Down Expand Up @@ -50,6 +51,8 @@ async function handleInteraction(request: Request, env: Env): Promise<Response>
return onPluginsSlashCommand(interaction);
case 'lint-rule':
return onLintRuleSlashCommand(interaction);
case 'reproduction':
return onReproductionSlashCommand(interaction);
case 'supported-languages':
return onSupportedLanguagesSlashCommand(interaction);
case 'test':
Expand Down

0 comments on commit 80ea017

Please sign in to comment.