TTVTool

new TTVTool()

This module initializes pretty much everything and other modules have access to other modules over here.
Fires:

Extends

  • EventEmitter

Members

readonly addons :Addons

Gives you the addons module.

readonly auth :TTVLogin

Gives you the auth module.

readonly channel :Channel

Gives you the channel data module.

readonly chat :Chat

Gives you the chat module.

readonly cockpit :Cockpit

Gives you the cockpit module.

readonly follows :Follows

Gives you the follow data module.

readonly i18n :i18n-nodejs

Gives you the i18n-nodejs module.
See:

readonly overlays :TTVLogin

Gives you the overlay module.

readonly settings :ToolSettings

Gives you the settings module.

readonly subscriptions :undefined

Gives you a subscription module.
Deprecated:
  • Subscription are now shared with everyone via chat.

readonly twitchapi :TwitchTv

Gives you the Twitch-API module.

readonly ui :ToolUI

Gives you the UI modules

Events

exit

Fires before the application is exited. Once again just window.onbeforeunload. Don't overwrite window.onbeforeunload please.

load

Fires after the document was loaded. Basically window.onload. Use this instead of window.onload to not overwrite the onload function and breaking the entire application. Thank you. :)