1
mirror of https://github.com/Shiewk/SModeration.git synced 2026-04-28 05:54:16 +02:00

Add ban and kick commands

This commit is contained in:
Shy
2024-06-08 12:40:55 +02:00
parent 3ff874e244
commit 16e28b59e0
6 changed files with 207 additions and 6 deletions
@@ -56,6 +56,7 @@ public class MuteCommand implements CommandExecutor, TabCompleter {
} else {
duration += parsedDuration;
}
if (i == args.length - 1){ p = args.length; }
}
if (duration == 0){
sender.sendMessage(Component.text("Please provide a valid duration.").color(NamedTextColor.RED));