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

Unmute and unban commands

This commit is contained in:
Shy
2024-06-08 19:14:05 +02:00
parent 151ca74dc7
commit fc061d64ac
5 changed files with 154 additions and 1 deletions
@@ -54,5 +54,15 @@ public final class SModeration extends JavaPlugin {
assert logs != null;
logs.setExecutor(new ModLogsCommand());
logs.setTabCompleter(new ModLogsCommand());
final PluginCommand unmute = getCommand("unmute");
assert unmute != null;
unmute.setExecutor(new UnmuteCommand());
unmute.setTabCompleter(new UnmuteCommand());
final PluginCommand unban = getCommand("unban");
assert unban != null;
unban.setExecutor(new UnbanCommand());
unban.setTabCompleter(new UnbanCommand());
}
}