Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface OptionalConfig

Hierarchy

  • OptionalConfig

Index

Properties

botName: string

Twitch bot login.

If not provided, there will be no bot connected to IRC and some events wont be emitted (see TwitchChannel).

botToken: string

Create your token here.

If not provided, there will be no bot connected to IRC and some events wont be emitted (see TwitchChannel).

callbackUrl: string

URL to your server, reachable from the internet.

If not provided, there will be no EventSub subscriptions and some events wont be emitted (see TwitchChannel).

port: number

When callbackUrl and port are provided, the lib will start an http server that will listen to this port for incoming EventSub requests.

If port is not provided, the lib wont start a server. See the EventSub paragraph in TwitchChannel.

Generated using TypeDoc