Package io.manebot.command
Interface CommandShell
-
public interface CommandShell
-
-
Method Summary
Modifier and Type Method Description void
ensureOpen()
void
execute(CommandMessage message)
java.util.concurrent.Future<java.lang.Boolean>
executeAsync(CommandMessage message)
User
getUser()
boolean
isOpen()
-
-
-
Method Detail
-
getUser
User getUser()
-
execute
void execute(CommandMessage message) throws CommandExecutionException
- Throws:
CommandExecutionException
-
executeAsync
java.util.concurrent.Future<java.lang.Boolean> executeAsync(CommandMessage message)
-
isOpen
boolean isOpen()
-
ensureOpen
void ensureOpen()
-
-