When listening to the message(channel: string, userstate: ChatUserstate, message: string, self: boolean): void;
event, the returned ChatUserstate object is simple to access using ${userstate['display-name']}
. However, in the timeout(channel: string, username: string, reason: string, duration: number, userstate: TimeoutUserstate): void;
event, the TimeoutUserstate object does not have a “display-name” field. Is there any way to retrieve the “display-name” in this case?