diff options
| author | stonedDiscord <Tukz@gmx.de> | 2024-08-07 23:40:05 +0200 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2024-08-07 23:40:05 +0200 |
| commit | dc85197c9b966105813dd026480f9f6bc77d8b68 (patch) | |
| tree | 60ad0468cc89db772535803cf9b14ebc9bf48a1f | |
| parent | 73373ce08b060c97fcb6311e862b8261c3222d9f (diff) | |
correct units
| -rw-r--r-- | webAO/dom/banPlayer.ts | 4 |
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); } |
