TwitchPlugin.isEnabled

Override IRCPlugin.isEnabled

(effectively overriding IRCPluginImpl.isEnabled) and inject a server check, so this plugin only works on Twitch, in addition to doing nothing when TwitchSettings.enabled is false.

class TwitchPlugin
override const @property pure nothrow @nogc
bool
isEnabled
()

Return Value

Type: bool

true if this plugin should react to events; false if not.

Meta