We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcc0789 commit fbd4a77Copy full SHA for fbd4a77
src/commands/moderation/repel.ts
@@ -431,7 +431,7 @@ export const repelCommand = createCommand({
431
432
const timeout = await handleTimeout({
433
target: target,
434
- durationInMilliseconds: timeoutHours ? timeoutHours * HOUR : DEFAULT_TIMEOUT_DURATION_MS,
+ durationInMilliseconds: timeoutHours !== null ? timeoutHours * HOUR : DEFAULT_TIMEOUT_DURATION_MS,
435
});
436
437
const channels = getTextChannels(interaction);
0 commit comments