Skip to content

Commit

Permalink
improve flag value evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
burdoto committed Sep 23, 2024
1 parent 47aa90d commit efe81d9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/org/comroid/api/func/util/Command.java
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,13 @@
@Language(value = "Groovy", prefix = "Object x =", suffix = ";")
String permission() default EmptyAttribute;

@Deprecated
boolean ephemeral() default false;

PrivacyLevel privacy() default PrivacyLevel.EPHEMERAL;

enum PrivacyLevel { PUBLIC, PRIVATE, EPHEMERAL }

enum Capability {
NAMED_ARGS;

Expand Down

0 comments on commit efe81d9

Please sign in to comment.