diff --git a/api/src/main/java/com/velocitypowered/api/command/CommandInvocation.java b/api/src/main/java/com/velocitypowered/api/command/CommandInvocation.java index 20cc923b0..191602bf4 100644 --- a/api/src/main/java/com/velocitypowered/api/command/CommandInvocation.java +++ b/api/src/main/java/com/velocitypowered/api/command/CommandInvocation.java @@ -20,4 +20,11 @@ public interface CommandInvocation { * @return the command arguments */ T arguments(); + + /** + * Returns the alias used to invoke the command. + * + * @return the command used to invoke the command. + */ + String alias(); }