TwitchPlugin.Room

Contained state of a channel, so that there can be several alongside each other.

Constructors

this
this(string channelName)

Constructor taking a string (channel) name.

Members

Functions

uniqueID
auto uniqueID()

Accessor to _uniqueID.

Manifest constants

messageMemory
enum messageMemory;

How many messages to keep in memory, to allow for nuking.

Structs

Stream
struct Stream

Representation of a broadcast (stream).

Variables

broadcasterDisplayName
string broadcasterDisplayName;

Display name of the broadcaster.

broadcasterName
string broadcasterName;

Account name of the broadcaster.

channelName
string channelName;

Name of the channel.

follows
Follow[string] follows;

A JSON list of the followers of the channel.

followsLastCached
long followsLastCached;

UNIX timestamp of when follows was last cached.

id
string id;

Broadcaster user/account/room ID (not name).

lastNMessages
CircularBuffer!(IRCEvent, No.dynamic, messageMemory) lastNMessages;

The last n messages sent in the channel, used by nuke.

sawUserstate
bool sawUserstate;

Set when we see a USERSTATE upon joining the channel.

songrequestHistory
long[string] songrequestHistory;

Song request history; UNIX timestamps keyed by nickname.

stream
Stream stream;

The current, ongoing stream.

Meta