tmijs/tmi.js

Missing userstate in type definitions of ban and timeout events

samildeli opened this issue · 1 comments

In @types/tmi.js (version 1.8.2), ban and timeout events are defined as follows:

ban(channel: string, username: string, reason: string): void;
timeout(channel: string, username: string, reason: string, duration: number): void;

They need to have a userstate parameter as the last parameter as can be seen in the docs and when tested (tmi.js version 1.8.5).