getRoom

Retrieves the pointer to a TwitchPlugin.Room by name, creating it first if one doesn't exist.

version(TwitchSupport && WithTwitchPlugin)
private
getRoom

Parameters

plugin TwitchPlugin

The current TwitchPlugin.

channel IRCEvent.Channel

Channel representing the TwitchPlugin.Room to create and/or retrieve.

Return Value

Type: auto

A pointer to a TwitchPlugin.Room, newly-created or otherwise.