Modifier and Type | Interface and Description |
---|---|
static class |
Game.GameType |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
The displayed name of the
Game . |
Game.GameType |
getType()
The type of
Game . |
java.lang.String |
getUrl()
The URL of the
Game . |
static boolean |
isValidStreamingUrl(java.lang.String url)
Checks if a given String is a valid Twitch url (ie, one that will display "Streaming" on the Discord client).
|
java.lang.String getName()
Game
. If no name has been set, this returns null.java.lang.String getUrl()
Game
. This will return null for regular games.Game.GameType getType()
Game
. This will return null for regular games.static boolean isValidStreamingUrl(java.lang.String url)
url
- The url to check.