Commands

public final class Commands

Client-side utilities for working with commands.

Functions

Link copied to clipboard
public static CommandMessage ensureMessage(Message commandOrMessage)
Extracts a command message if the passed instance is a Command object or Any, otherwise returns the passed message.
Link copied to clipboard
public static Stringifier<CommandId> idStringifier()
Obtains stringifier for command IDs.
Link copied to clipboard
public static void sort(List<Command> commands)
Sorts the command given command request list by command timestamp value.