AutomodePlugin.isEnabled

Override IRCPlugin.isEnabled

(effectively overriding IRCPluginImpl.isEnabled) and inject a server check, so this service does nothing on Twitch servers, in addition to doing nothing when AutomodeSettings.enabled is false.

class AutomodePlugin
version(TwitchSupport)
override const @property pure nothrow @nogc
bool
isEnabled
()

Return Value

Type: bool

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

Meta