mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-19 02:36:59 +00:00
version
This commit is contained in:
parent
d0faaf2d53
commit
7920d2225c
@ -18,6 +18,7 @@
|
||||
|
||||
package com.volmit.iris.core.decrees;
|
||||
|
||||
import com.volmit.iris.Iris;
|
||||
import com.volmit.iris.util.decree.DecreeExecutor;
|
||||
import com.volmit.iris.util.decree.annotations.Decree;
|
||||
import com.volmit.iris.util.decree.annotations.Param;
|
||||
@ -27,11 +28,16 @@ public class DecIris implements DecreeExecutor
|
||||
{
|
||||
private DecIrisStudio studio;
|
||||
|
||||
@Decree(description = "Ping self", aliases = "p")
|
||||
@Decree(description = "Send a message to yourself", aliases = "p")
|
||||
public void ping(
|
||||
@Param(name = "message", defaultValue = "Pong", aliases = {"msg", "m"})
|
||||
@Param(name = "message", description = "The message to send", defaultValue = "Pong", aliases = {"msg", "m"})
|
||||
String message)
|
||||
{
|
||||
sender().sendMessage(message + "!");
|
||||
}
|
||||
|
||||
@Decree(description = "Print version information", aliases = {"v", "ver"})
|
||||
public void version(){
|
||||
sender().sendMessage("Iris v" + Iris.instance.getDescription().getVersion() + " by Volmit Software");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user