[][src]Module twitchchat::commands::types

Concrete types produced by the functions in the commands module.

e.g. join("#museun") -> Join<'_> (where its borrowed from the input &str)

Structs

Ban

Permanently prevent a user from chatting.

Clear

Clear chat history for all users on channel.

Color

Change your username color.

Command

Sends the command to the channel (e.g. /color #FFFFFF)

Commercial

Triggers a commercial.

Disconnect

Reconnects to chat.

EmoteOnly

Enables emote-only mode (only emoticons may be used in chat).

EmoteOnlyOff

Disables emote-only mode.

Followers

Enables followers-only mode (only users who have followed for duration may chat).

FollowersOff

Disables followers-only mode.

GiveMod

Grant moderator status to a user.

Help

Lists the commands available to you in this room.

Host

Host another channel.

Join

Join a channel. This handles prepending a leading '#' for you if you omit it.

JtvCommand

Sends the data as a command to the 'jtv' channel (e.g. /color #FFFFFF)

Marker

Adds a stream marker (with an optional comment, max 140 characters) at the current timestamp.

Me

Sends an "emote" message in the third person to the channel

Mods

Lists the moderators of this channel.

Part

Leave a channel. This handles prepending a leading '#' for you if you omit it.

Ping

Request a servver response with the provided token

Pong

Respond to a server request (normally a PING) with the provided token

Privmsg

Send a normal message to a channel

R9kBeta

Enables r9k mode.

R9kBetaOff

Disables r9k mode.

Raid

Raid another channel.

Raw

Send a raw IRC-style message

Register

Registers with Twitch. This writes the UserConfig out

Reply

Reply to a specific message (using an UUID) on a channel

Slow

Enables slow mode (limit how often users may send messages).

SlowOff

Disables slow mode.

Subscribers

Enables subscribers-only mode (only subscribers may chat in this channel).

SubscribersOff

Disables subscribers-only mode.

Timeout

Temporarily prevent a user from chatting.

Unban

Removes a ban on a user.

Unhost

Stop hosting another channel.

Unmod

Revoke moderator status from a user.

Unraid

Cancel the raid.

Untimeout

Removes a timeout on a user.

Unvip

Revoke VIP status from a user.

Vip

Grant VIP status to a user.

Vips

Lists the VIPs of this channel.

Whisper

Whispers a message to the username.