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.

If a keygen is requested, this overrides all other checks.

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

Return Value

Type: bool

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