Package com.github.twitch4j.common.util
Class TwitchUtils
java.lang.Object
com.github.twitch4j.common.util.TwitchUtils
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Set<CommandPermission>
static Set<CommandPermission>
Deprecated.static Set<CommandPermission>
getPermissionsFromTags
(@NonNull Map<String, Object> tags, @NonNull Map<String, String> badges, String userId, Collection<String> botOwnerIds) static Set<CommandPermission>
getPermissionsFromTags
(Map<String, Object> tags) Deprecated.parseBadges
(String raw) Parse Badges from raw list
-
Field Details
-
ANONYMOUS_GIFTER
The account used by twitch to signify an anonymous subscription gifter- See Also:
-
ANONYMOUS_CHEERER
The account used by twitch to signify an anonymous cheerer
-
-
Constructor Details
-
TwitchUtils
public TwitchUtils()
-
-
Method Details
-
getPermissionsFromTags
Deprecated. -
getPermissionsFromTags
@Deprecated public static Set<CommandPermission> getPermissionsFromTags(@NonNull @NonNull Map<String, Object> tags, @NonNull @NonNull Map<String, String> badges) Deprecated. -
getPermissionsFromTags
-
getPermissions
-
parseBadges
Parse Badges from raw list- Parameters:
raw
- The raw list of tags.- Returns:
- A key-value map of the tags.
-