Zehs-TwitchChatAPI icon

TwitchChatAPI

Add Twitch chat integration to your Lethal Company mods! Subscribe to events like Messages, Cheers, Subs, and Raids. No authentication required.

CHANGELOG

v1.1.0

  • Updated TwitchSubEvent class.
    • Changed Tier from an int to an enum.
    • Renamed Months to CumulativeMonths.
  • Updated TwitchUser class.
    • Added Username property.
  • Updated API.
    • Added public static IReadOnlyCollection<TwitchUser> Users { get; } property.
    • Added public static bool TryGetUserByUsername(string username, out TwitchUser twitchUser); method.
    • Added public static bool TryGetUserByUserId(string userId, out TwitchUser twitchUser); method.
    • Added public static TwitchUser[] GetUsersSeenWithin(TimeSpan timeSpan); method.

v1.0.1

  • API events are now invoked on the main thread.
  • Bug fixes and improvements.

v1.0.0

  • Initial release.