forked from Fascinated/Bat
add feature toggling
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
package cc.fascinated.bat.command;
|
||||
|
||||
import cc.fascinated.bat.features.Feature;
|
||||
import lombok.Getter;
|
||||
import lombok.NonNull;
|
||||
import lombok.Setter;
|
||||
@ -38,6 +39,11 @@ public abstract class BatCommand implements BatCommandExecutor {
|
||||
*/
|
||||
private Category category;
|
||||
|
||||
/**
|
||||
* The feature that the command belongs to
|
||||
*/
|
||||
private Feature feature;
|
||||
|
||||
/**
|
||||
* Whether the command can only be used by the bot owner
|
||||
*/
|
||||
|
Reference in New Issue
Block a user