add slash server aliases

This commit is contained in:
ajgeiss0702
2021-09-25 16:48:21 -07:00
parent 7bc08885da
commit d9a5142d48
8 changed files with 167 additions and 15 deletions
@@ -0,0 +1,11 @@
package us.ajg0702.queue.api;
import us.ajg0702.queue.api.commands.IBaseCommand;
public interface Implementation {
void registerCommand(IBaseCommand command);
void unregisterCommand(String name);
default void unregisterCommand(IBaseCommand command) {
unregisterCommand(command.getName());
}
}