Package com.github.twitch4j.chat.enums
Enum Class NoticeTag
- All Implemented Interfaces:
Serializable
,Comparable<NoticeTag>
,Constable
The documented possible values of
ChannelNoticeEvent.getMsgId()
.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription<user> is already banned in this channel.This room is not in emote-only mode.This room is already in emote-only mode.This room is not in r9k mode.This room is already in r9k mode.This room is not in subscribers-only mode.This room is already in subscribers-only mode.You cannot ban admin <user>.You cannot ban anonymous users.You cannot ban the broadcaster.Deprecated.You cannot ban moderator <user> unless you are the owner of this channel.You cannot ban yourself.You cannot ban a staff <user>.Failed to start commercial.You cannot delete the broadcaster's messages.Failed to delete message.You cannot delete messages from another moderator <user>.There was a problem hosting <channel>.This channel is already hosting <channel>.Host target cannot be changed more than <number> times every half hour.This channel is unable to be hosted.A channel cannot host itself.Sorry, /marker is not available through this client.<user> is banned in this channel.<user> is already a moderator of this channel.You cannot set slow delay to more than <number> seconds.You cannot timeout admin <user>.You cannot timeout anonymous users.You cannot timeout the broadcaster.You cannot time a user out for more than <seconds>.Deprecated.You cannot timeout moderator <user> unless you are the owner of this channel.You cannot timeout yourself.You cannot timeout staff <user>.<user> is not banned from this channel.There was a problem exiting host mode.<user> is not a moderator of this channel.<user> is not a VIP of this channel.Unable to add VIP.<user> is already a VIP of this channel.<user> is banned in this channel.Unable to add VIP.<user> is now banned from this channel.Commands available to you in this room (use /help <command> for details): <list of commands>Your color has been changed.Initiating <number> second commercial break.The message from <user> is now deleted.This room is no longer in emote-only mode.This room is now in emote-only mode.This room is no longer in followers-only mode.This room is now in <duration> followers-only mode.This room is now in followers-only mode.Exited host mode.Now hosting <channel>.<user> is now hosting you.<user> is now hosting you for up to <number> viewers.<channel> has gone offline.<number> host commands remaining this half hour.Invalid username: <user>You have added <user> as a moderator of this channel.Your message was not sent because it contained too many characters that could not be processed.You are permanently banned from talking in <channel>.Your message was not sent because your email address is banned from this channel.Your message was not sent because your account is not in good standing in this channel.This channel has been suspended.You are connected to too many chat channels.Your message was not sent because it is identical to the previous one you sent, less than 30 seconds ago.This room is in emote only mode.You must use Facebook Connect to send messages to this channel.This room is in <duration> followers-only mode.This room is in <duration1> followers-only mode.This room is in followers-only mode.This room is in r9k mode and the message you attempted to send is not unique.Your message was not sent because you are sending messages too quickly.Hey! Your message is being checked by mods and has not been sent.Your message wasn't posted due to conflicts with the channel's moderation settings.A verified phone number is required to chat in this channel.The room was not found.This room is in slow mode and you are sending messages too quickly.This room is in subscribers only mode.Your account has been suspended.You are banned from talking in <channel> for <number> more seconds.This room requires a verified email address to chat.You received a Warning from a moderator in this channel.No help available.There are no moderators of this channel.You don’t have permission to perform that action.This channel does not have any VIPs.No channel is currently being hosted.This room is no longer in r9k mode.This room is now in r9k mode.You already have a raid in progress.You cannot raid this channel.A channel cannot raid itself.Sorry, you have more viewers than the maximum currently supported by raids right now.There was a problem raiding <channel>.This channel is intended for mature audiences.This channel has follower or subscriber only chat.The moderators of this channel are: <list of users>This room is no longer in slow mode.This room is now in slow mode.This room is no longer in subscribers-only mode.This room is now in subscribers-only mode.<user> is not timed out from this channel.<user> has been timed out for <duration> seconds.The community has closed channel <channel> due to Terms of Service violations.Only turbo users can specify an arbitrary hex color.<user> is no longer banned from this channel.You have removed <user> as a moderator of this channel.You do not have an active raid.There was a problem stopping the raid.The raid has been cancelled.Unrecognized command: <command>The command <command> cannot be used in a chatroom.<user> is permanently banned.<user> is no longer timed out in this channel.You have removed <user> as a VIP of this channel.Usage: “/ban <username> [reason]” Permanently prevent a user from chatting.Usage: “/clear” Clear chat history for all users in this room.Usage: “/color <color>” Change your username color.Usage: “/commercial [length]” Triggers a commercial.Usage: “/disconnect” Reconnects to chat.Usage: “/emoteonlyoff” Disables emote-only mode.Usage: “/emoteonly” Enables emote-only mode (only emoticons may be used in chat).Usage: “/followersoff” Disables followers-only mode.Usage: “/followers” Enables followers-only mode (only users who have followed for “duration” may chat).Usage: “/help” Lists the commands available to you in this room.Usage: “/host <channel>” Host another channel.Usage: “/marker <optional comment>” Adds a stream marker (with an optional comment, max 140 characters) at the current timestamp.Usage: “/me <message>” Send an “emote” message in the third person.Usage: “/mod <username>” Grant mod status to a user.Usage: “/mods” Lists the moderators of this channel.Usage: “/r9kbetaoff” Disables r9k mode.Usage: “/r9kbeta” Enables r9k mode.Usage: “/raid <channel>” Raid another channel.Usage: “/slowoff” Disables slow mode.Usage: “/slow [duration]” Enables slow mode (limit how often users may send messages).Usage: “/subscribersoff” Disables subscribers-only mode.Usage: “/subscribers” Enables subscribers-only mode (only subscribers may chat in this channel).Usage: “/timeout <username> [duration][time unit] [reason]"Temporarily prevent a user from chatting.Usage: “/unban <username>” Removes a ban on a user.Usage: “/unhost” Stop hosting another channel.Usage: “/unmod <username>” Revoke mod status from a user.Usage: “/unraid” Cancel the Raid.Usage: “/untimeout <username>” Removes a timeout on a user.Usage: “/vip <username>” Grant VIP status to a user.Usage: “/vips” Lists the VIPs of this channel.You have added <user> as a VIP of this channel.The VIPs of this channel are: <list of users>.You have been banned from sending whispers.That user has been banned from receiving whispers.Usage: <login> <message>No user matching that login.You cannot whisper to yourself.You are sending whispers too fast.You are sending whispers too fast.Your settings prevent you from sending this whisper.That user's settings prevent them from receiving this whisper. -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable NoticeTag
Attempts to parse the msgId to an enum value.toString()
static NoticeTag
Returns the enum constant of this class with the specified name.static NoticeTag[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALREADY_BANNED
<user> is already banned in this channel. -
ALREADY_EMOTE_ONLY_OFF
This room is not in emote-only mode. -
ALREADY_EMOTE_ONLY_ON
This room is already in emote-only mode. -
ALREADY_R9K_OFF
This room is not in r9k mode. -
ALREADY_R9K_ON
This room is already in r9k mode. -
ALREADY_SUBS_OFF
This room is not in subscribers-only mode. -
ALREADY_SUBS_ON
This room is already in subscribers-only mode. -
BAD_BAN_ADMIN
You cannot ban admin <user>. Please email support@twitch.tv if an admin is being abusive. -
BAD_BAN_ANON
You cannot ban anonymous users. -
BAD_BAN_BROADCASTER
You cannot ban the broadcaster. -
BAD_BAN_GLOBAL_MOD
Deprecated.You cannot ban global moderator <user>. Please email support@twitch.tv if a global moderator is being abusive. -
BAD_BAN_MOD
You cannot ban moderator <user> unless you are the owner of this channel. -
BAD_BAN_SELF
You cannot ban yourself. -
BAD_BAN_STAFF
You cannot ban a staff <user>. Please email support@twitch.tv if a staff member is being abusive. -
BAD_COMMERCIAL_ERROR
Failed to start commercial. -
BAD_DELETE_MESSAGE_BROADCASTER
You cannot delete the broadcaster's messages. -
BAD_DELETE_MESSAGE_ERROR
Failed to delete message. -
BAD_DELETE_MESSAGE_MOD
You cannot delete messages from another moderator <user>. -
BAD_HOST_ERROR
There was a problem hosting <channel>. Please try again in a minute. -
BAD_HOST_HOSTING
This channel is already hosting <channel>. -
BAD_HOST_RATE_EXCEEDED
Host target cannot be changed more than <number> times every half hour. -
BAD_HOST_REJECTED
This channel is unable to be hosted. -
BAD_HOST_SELF
A channel cannot host itself. -
BAD_MARKER_CLIENT
Sorry, /marker is not available through this client. -
BAD_MOD_BANNED
<user> is banned in this channel. You must unban this user before granting mod status. -
BAD_MOD_MOD
<user> is already a moderator of this channel. -
BAD_SLOW_DURATION
You cannot set slow delay to more than <number> seconds. -
BAD_TIMEOUT_ADMIN
You cannot timeout admin <user>. Please email support@twitch.tv if an admin is being abusive. -
BAD_TIMEOUT_ANON
You cannot timeout anonymous users. -
BAD_TIMEOUT_BROADCASTER
You cannot timeout the broadcaster. -
BAD_TIMEOUT_DURATION
You cannot time a user out for more than <seconds>. -
BAD_TIMEOUT_GLOBAL_MOD
Deprecated.You cannot timeout global moderator <user>. Please email support@twitch.tv if a global moderator is being abusive. -
BAD_TIMEOUT_MOD
You cannot timeout moderator <user> unless you are the owner of this channel. -
BAD_TIMEOUT_SELF
You cannot timeout yourself. -
BAD_TIMEOUT_STAFF
You cannot timeout staff <user>. Please email support@twitch.tv if a staff member is being abusive. -
BAD_UNBAN_NO_BAN
<user> is not banned from this channel. -
BAD_UNHOST_ERROR
There was a problem exiting host mode. Please try again in a minute. -
BAD_UNMOD_MOD
<user> is not a moderator of this channel. -
BAD_UNVIP_GRANTEE_NOT_VIP
<user> is not a VIP of this channel. -
BAD_VIP_ACHIEVEMENT_INCOMPLETE
Unable to add VIP. Visit the Achievements page on your dashboard to learn how to unlock this feature. -
BAD_VIP_GRANTEE_ALREADY_VIP
<user> is already a VIP of this channel. -
BAD_VIP_GRANTEE_BANNED
<user> is banned in this channel. You must unban this user before granting VIP status. -
BAD_VIP_MAX_VIPS_REACHED
Unable to add VIP. Visit the Achievements page on your dashboard to learn how to unlock additional VIP slots. -
BAN_SUCCESS
<user> is now banned from this channel. -
CMDS_AVAILABLE
Commands available to you in this room (use /help <command> for details): <list of commands> -
COLOR_CHANGED
Your color has been changed. -
COMMERCIAL_SUCCESS
Initiating <number> second commercial break. Keep in mind that your stream is still live and not everyone will get a commercial. -
DELETE_MESSAGE_SUCCESS
The message from <user> is now deleted. -
EMOTE_ONLY_OFF
This room is no longer in emote-only mode. -
EMOTE_ONLY_ON
This room is now in emote-only mode. -
FOLLOWERS_OFF
This room is no longer in followers-only mode. Note: The followers tags are broadcast to a channel when a moderator makes changes. -
FOLLOWERS_ON
This room is now in <duration> followers-only mode. Examples: “This room is now in 2 week followers-only mode.” or “This room is now in 1 minute followers-only mode.” -
FOLLOWERS_ONZERO
This room is now in followers-only mode. -
HOST_OFF
Exited host mode. -
HOST_ON
Now hosting <channel>. -
HOST_SUCCESS
<user> is now hosting you. -
HOST_SUCCESS_VIEWERS
<user> is now hosting you for up to <number> viewers. -
HOST_TARGET_WENT_OFFLINE
<channel> has gone offline. Exiting host mode. -
HOSTS_REMAINING
<number> host commands remaining this half hour. -
INVALID_USER
Invalid username: <user> -
MOD_SUCCESS
You have added <user> as a moderator of this channel. -
MSG_BANNED
You are permanently banned from talking in <channel>. -
MSG_BAD_CHARACTERS
Your message was not sent because it contained too many characters that could not be processed. If you believe this is an error, rephrase and try again. -
MSG_BANNED_EMAIL_ALIAS
Your message was not sent because your email address is banned from this channel. -
MSG_CHANNEL_BLOCKED
Your message was not sent because your account is not in good standing in this channel. -
MSG_CHANNEL_SUSPENDED
This channel has been suspended. -
MSG_CONCURRENT_CHANNEL_LIMIT_REACHED
You are connected to too many chat channels. Please close some existing chat connections to join a new chat. -
MSG_DUPLICATE
Your message was not sent because it is identical to the previous one you sent, less than 30 seconds ago. -
MSG_EMOTEONLY
This room is in emote only mode. You can find your currently available emoticons using the smiley in the chat text area. -
MSG_FACEBOOK
You must use Facebook Connect to send messages to this channel. You can see Facebook Connect in your Twitch settings under the connections tab. -
MSG_FOLLOWERSONLY
This room is in <duration> followers-only mode. Follow <channel> to join the community!Note: These msg_followers tags are kickbacks to a user who does not meet the criteria; that is, does not follow or has not followed long enough. -
MSG_FOLLOWERSONLY_FOLLOWED
This room is in <duration1> followers-only mode. You have been following for <duration2>. Continue following to chat! -
MSG_FOLLOWERSONLY_ZERO
This room is in followers-only mode. Follow <channel> to join the community! -
MSG_R9K
This room is in r9k mode and the message you attempted to send is not unique. -
MSG_RATELIMIT
Your message was not sent because you are sending messages too quickly. -
MSG_REJECTED
Hey! Your message is being checked by mods and has not been sent. -
MSG_REJECTED_MANDATORY
Your message wasn't posted due to conflicts with the channel's moderation settings. -
MSG_REQUIRES_VERIFIED_PHONE_NUMBER
A verified phone number is required to chat in this channel. Please visit https://www.twitch.tv/settings/security to verify your phone number. -
MSG_ROOM_NOT_FOUND
The room was not found. -
MSG_SLOWMODE
This room is in slow mode and you are sending messages too quickly. You will be able to talk again in <number> seconds. -
MSG_SUBSONLY
This room is in subscribers only mode. To talk, purchase a channel subscription at https://www.twitch.tv/products/<broadcaster login name>/ticket?ref=subscriber_only_mode_chat. -
MSG_SUSPENDED
Your account has been suspended. -
MSG_TIMEDOUT
You are banned from talking in <channel> for <number> more seconds. -
MSG_VERIFIED_EMAIL
This room requires a verified email address to chat. Please verify your email at https://www.twitch.tv/settings/profile. -
MSG_WARNED
You received a Warning from a moderator in this channel. Acknowledge the Warning in browser to continue chatting in this channel. -
NO_HELP
No help available. -
NO_MODS
There are no moderators of this channel. -
NOT_HOSTING
No channel is currently being hosted. -
NO_PERMISSION
You don’t have permission to perform that action. -
NO_VIPS
This channel does not have any VIPs. -
R9K_OFF
This room is no longer in r9k mode. -
R9K_ON
This room is now in r9k mode. -
RAID_ERROR_ALREADY_RAIDING
You already have a raid in progress. -
RAID_ERROR_FORBIDDEN
You cannot raid this channel. -
RAID_ERROR_SELF
A channel cannot raid itself. -
RAID_ERROR_TOO_MANY_VIEWERS
Sorry, you have more viewers than the maximum currently supported by raids right now. -
RAID_ERROR_UNEXPECTED
There was a problem raiding <channel>. Please try again in a minute. -
RAID_NOTICE_MATURE
This channel is intended for mature audiences. -
RAID_NOTICE_RESTRICTED_CHAT
This channel has follower or subscriber only chat. -
ROOM_MODS
The moderators of this channel are: <list of users> -
SLOW_OFF
This room is no longer in slow mode. -
SLOW_ON
This room is now in slow mode. You may send messages every <number> seconds. -
SUBS_OFF
This room is no longer in subscribers-only mode. -
SUBS_ON
This room is now in subscribers-only mode. -
TIMEOUT_NO_TIMEOUT
<user> is not timed out from this channel. -
TIMEOUT_SUCCESS
<user> has been timed out for <duration> seconds. -
TOS_BAN
The community has closed channel <channel> due to Terms of Service violations. -
TURBO_ONLY_COLOR
Only turbo users can specify an arbitrary hex color. Use one of the following instead: <list of colors>. -
UNBAN_SUCCESS
<user> is no longer banned from this channel. -
UNMOD_SUCCESS
You have removed <user> as a moderator of this channel. -
UNRAID_ERROR_NO_ACTIVE_RAID
You do not have an active raid. -
UNRAID_ERROR_UNEXPECTED
There was a problem stopping the raid. Please try again in a minute. -
UNRAID_SUCCESS
The raid has been cancelled. -
UNRECOGNIZED_CMD
Unrecognized command: <command> -
UNSUPPORTED_CHATROOMS_CMD
The command <command> cannot be used in a chatroom. -
UNTIMEOUT_BANNED
<user> is permanently banned. Use "/unban" to remove a ban. -
UNTIMEOUT_SUCCESS
<user> is no longer timed out in this channel. -
UNVIP_SUCCESS
You have removed <user> as a VIP of this channel. -
USAGE_BAN
Usage: “/ban <username> [reason]” Permanently prevent a user from chatting. Reason is optional and will be shown to the target and other moderators. Use “/unban” to remove a ban. -
USAGE_CLEAR
Usage: “/clear” Clear chat history for all users in this room. -
USAGE_COLOR
Usage: “/color <color>” Change your username color. Color must be in hex (#000000) or one of the following: Blue, BlueViolet, CadetBlue, Chocolate, Coral, DodgerBlue, Firebrick, GoldenRod, Green, HotPink, OrangeRed, Red, SeaGreen, SpringGreen, YellowGreen. -
USAGE_COMMERCIAL
Usage: “/commercial [length]” Triggers a commercial. Length (optional) must be a positive number of seconds. -
USAGE_DISCONNECT
Usage: “/disconnect” Reconnects to chat. -
USAGE_EMOTE_ONLY_OFF
Usage: “/emoteonlyoff” Disables emote-only mode. -
USAGE_EMOTE_ONLY_ON
Usage: “/emoteonly” Enables emote-only mode (only emoticons may be used in chat). Use /emoteonlyoff to disable. -
USAGE_FOLLOWERS_OFF
Usage: “/followersoff” Disables followers-only mode. -
USAGE_FOLLOWERS_ON
Usage: “/followers” Enables followers-only mode (only users who have followed for “duration” may chat). Examples: “30m”, “1 week”, “5 days 12 hours”. Must be less than 3 months. -
USAGE_HELP
Usage: “/help” Lists the commands available to you in this room. -
USAGE_HOST
Usage: “/host <channel>” Host another channel. Use “/unhost” to unset host mode. -
USAGE_MARKER
Usage: “/marker <optional comment>” Adds a stream marker (with an optional comment, max 140 characters) at the current timestamp. You can use markers in the Highlighter for easier editing. -
USAGE_ME
Usage: “/me <message>” Send an “emote” message in the third person. -
USAGE_MOD
Usage: “/mod <username>” Grant mod status to a user. Use “/mods” to list the moderators of this channel. -
USAGE_MODS
Usage: “/mods” Lists the moderators of this channel. -
USAGE_R9K_OFF
Usage: “/r9kbetaoff” Disables r9k mode. -
USAGE_R9K_ON
Usage: “/r9kbeta” Enables r9k mode. Use “/r9kbetaoff“ to disable. -
USAGE_RAID
Usage: “/raid <channel>” Raid another channel. Use “/unraid” to cancel the Raid. -
USAGE_SLOW_OFF
Usage: “/slowoff” Disables slow mode. -
USAGE_SLOW_ON
Usage: “/slow [duration]” Enables slow mode (limit how often users may send messages). Duration (optional, default=<number>) must be a positive integer number of seconds. Use “/slowoff” to disable. -
USAGE_SUBS_OFF
Usage: “/subscribersoff” Disables subscribers-only mode. -
USAGE_SUBS_ON
Usage: “/subscribers” Enables subscribers-only mode (only subscribers may chat in this channel). Use “/subscribersoff” to disable. -
USAGE_TIMEOUT
Usage: “/timeout <username> [duration][time unit] [reason]"Temporarily prevent a user from chatting. Duration (optional, default=10 minutes) must be a positive integer; time unit (optional, default=s) must be one of s, m, h, d, w; maximum duration is 2 weeks. Combinations like 1d2h are also allowed. Reason is optional and will be shown to the target user and other moderators. Use “untimeout” to remove a timeout. -
USAGE_UNBAN
Usage: “/unban <username>” Removes a ban on a user. -
USAGE_UNHOST
Usage: “/unhost” Stop hosting another channel. -
USAGE_UNMOD
Usage: “/unmod <username>” Revoke mod status from a user. Use “/mods” to list the moderators of this channel. -
USAGE_UNRAID
Usage: “/unraid” Cancel the Raid. -
USAGE_UNTIMEOUT
Usage: “/untimeout <username>” Removes a timeout on a user. -
USAGE_VIP
Usage: “/vip <username>” Grant VIP status to a user. Use “/vips” to list the moderators of this channel. -
USAGE_VIPS
Usage: “/vips” Lists the VIPs of this channel. -
VIP_SUCCESS
You have added <user> as a VIP of this channel. -
VIPS_SUCCESS
The VIPs of this channel are: <list of users>. -
WHISPER_BANNED
You have been banned from sending whispers. -
WHISPER_BANNED_RECIPIENT
That user has been banned from receiving whispers. -
WHISPER_INVALID_ARGS
Usage: <login> <message> -
WHISPER_INVALID_LOGIN
No user matching that login. -
WHISPER_INVALID_SELF
You cannot whisper to yourself. -
WHISPER_LIMIT_PER_MIN
You are sending whispers too fast. Try again in a minute. -
WHISPER_LIMIT_PER_SEC
You are sending whispers too fast. Try again in a second. -
WHISPER_RESTRICTED
Your settings prevent you from sending this whisper. -
WHISPER_RESTRICTED_RECIPIENT
That user's settings prevent them from receiving this whisper.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
-
parse
Attempts to parse the msgId to an enum value.- Parameters:
msgId
- the lowercase msg_id from a NOTICE chat event.- Returns:
- the parsed NoticeTag or null if no match was found.
-