From dc85197c9b966105813dd026480f9f6bc77d8b68 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Wed, 7 Aug 2024 23:40:05 +0200 Subject: [PATCH] correct units --- webAO/dom/banPlayer.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webAO/dom/banPlayer.ts b/webAO/dom/banPlayer.ts index a8f6d5a1..5a8894a1 100644 --- a/webAO/dom/banPlayer.ts +++ b/webAO/dom/banPlayer.ts @@ -6,8 +6,8 @@ import { client } from '../client' export function banPlayer(id: number) { let reason; let length; - reason = prompt("Please enter the ban reason", ""); - length = Number(prompt("Please enter the ban length in hours", "")); + reason = prompt("Please enter the ban reason", "Being annoying"); + length = Number(prompt("Please enter the ban length in minutes", "60")); client.sender.sendMA(id, length, reason); }