Skip to content

Commit 057972d

Browse files
committed
🐛 fix: correct timeout duration calculation in repel command
1 parent 80fdf67 commit 057972d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/commands/moderation/repel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const handleTimeout = async ({
117117
return 0;
118118
}
119119
try {
120-
await target.timeout(duration * HOUR, 'Repel command executed');
120+
await target.timeout(duration, 'Repel command executed');
121121
return duration;
122122
} catch (error) {
123123
console.error('Error applying timeout to user:', error);

0 commit comments

Comments
 (0)