Class

TTVTool

TTVTool()

Constructor

new TTVTool()

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

View Source mod/tool.js, line 20

Extends

  • EventEmitter

Members

Addons

readonly addons

Gives you the addons module.

View Source mod/tool.js, line 266

TTVLogin

readonly auth

Gives you the auth module.

View Source mod/tool.js, line 195

Channel

readonly channel

Gives you the channel data module.

View Source mod/tool.js, line 235

Chat

readonly chat

Gives you the chat module.

View Source mod/tool.js, line 205

Cockpit

readonly cockpit

Gives you the cockpit module.

View Source mod/tool.js, line 215

Follows

readonly follows

Gives you the follow data module.

View Source mod/tool.js, line 245

i18n-nodejs

readonly i18n

Gives you the i18n-nodejs module.
See:

View Source mod/tool.js, line 155

Boolean

readonly loaded

Was the load event fired

View Source mod/tool.js, line 133

TTVLogin

readonly overlays

Gives you the overlay module.

View Source mod/tool.js, line 225

TwPubSub

readonly pubsub

Gives you the PubSub module.

View Source mod/tool.js, line 276

ToolSettings

readonly settings

Gives you the settings module.

View Source mod/tool.js, line 165

undefined

readonly subscriptions

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

View Source mod/tool.js, line 256

TwitchTv

readonly twitchapi

Gives you the Twitch-API module.

View Source mod/tool.js, line 175

TwitchHelix

readonly twitchhelix

Gives you the new Twitch API module

View Source mod/tool.js, line 185

ToolUI

readonly ui

Gives you the UI modules

View Source mod/tool.js, line 144

Events

exit

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

View Source mod/tool.js, line 115

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. :)

View Source mod/tool.js, line 99