Skip to content

Twitch Plays

Qkrisi edited this page Feb 21, 2021 · 6 revisions

Twitch Plays utilities

Twitch Plays ID

protected int TwitchID { get; }

This property holds the ID Twitch Plays assigned to the module. Not recommended to be used before KMBombModule.OnActivate() or KMNeedyModule.OnActivate()

If Twitch Plays is not present or inactive, the value will be -1.


Send messages

protected void SendTwitchMessage(string message);
protected void SendTwitchMessageFormat(string message, params object[] args);

Declaring method: Start

If Twitch Plays is active, the above methods will send the specified message to the Twitch chat.

Clone this wiki locally