mirror of
https://github.com/plexusorg/Plex.git
synced 2025-07-15 02:58:34 +00:00
Revert API
This commit is contained in:
22
src/main/java/dev/plex/command/blocker/BaseCommand.java
Normal file
22
src/main/java/dev/plex/command/blocker/BaseCommand.java
Normal file
@ -0,0 +1,22 @@
|
||||
package dev.plex.command.blocker;
|
||||
|
||||
import dev.plex.rank.enums.Rank;
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
public class BaseCommand
|
||||
{
|
||||
private final Rank rank;
|
||||
private final String message;
|
||||
|
||||
public BaseCommand(Rank r, String m)
|
||||
{
|
||||
rank = r;
|
||||
message = m;
|
||||
}
|
||||
|
||||
public String toString()
|
||||
{
|
||||
return "BaseCommand (Rank: " + (rank == null ? "ALL" : rank.name()) + ", Message: " + message + ")";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user