aboutsummaryrefslogtreecommitdiff
path: root/webAO/dom
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2024-08-07 23:40:05 +0200
committerstonedDiscord <Tukz@gmx.de>2024-08-07 23:40:05 +0200
commitdc85197c9b966105813dd026480f9f6bc77d8b68 (patch)
tree60ad0468cc89db772535803cf9b14ebc9bf48a1f /webAO/dom
parent73373ce08b060c97fcb6311e862b8261c3222d9f (diff)
correct units
Diffstat (limited to 'webAO/dom')
-rw-r--r--webAO/dom/banPlayer.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/webAO/dom/banPlayer.ts b/webAO/dom/banPlayer.ts
index a8f6d5a..5a8894a 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);
}