Class Verifier
java.lang.Object
de.chojo.jdautil.parsing.Verifier
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanCheck if two object have the same Snowflake.Extracts an id from discord's formatting.static booleanisArgument(String argument, String... args) Returns true if on of the arguments matches the argument.static booleanReturns true if the id is a valid id.
-
Method Details
-
isValidId
Returns true if the id is a valid id.- Parameters:
id- id to test.- Returns:
- true if id is valid
-
equalSnowflake
Check if two object have the same Snowflake.- Parameters:
a- first objectb- second object- Returns:
- true if the snowflakes are equal.
-
isArgument
-
getIdRaw
-