Package dev.aura.bungeechat.api.utils
Class ChatUtils
- java.lang.Object
-
- dev.aura.bungeechat.api.utils.ChatUtils
-
public final class ChatUtils extends Object
Simple util class to check wither a entered message is a command or not.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isCommand(String message)
method to check if a message is a command.
-
-
-
Method Detail
-
isCommand
public static boolean isCommand(String message)
method to check if a message is a command. Which means it starts with a "/".- Parameters:
message
- The message to check- Returns:
- Whether the passed message is a command or not.
-
-