edit text
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-09-06 17:59:28 +02:00
parent a1192db62b
commit dcc4785edc

View File

@@ -185,7 +185,7 @@ public class UserPunishment
// Ensure a duration argument is provided at index 1 (after mention/user) // Ensure a duration argument is provided at index 1 (after mention/user)
if (args == null || args.length <= 1) if (args == null || args.length <= 1)
{ {
return new MessageResponse("Sorry, but the specified duration is invalid!", null); return new MessageResponse("Please specify a punishment duration!", null);
} }
String durationStr = args[1]; String durationStr = args[1];