Jacob Foster

Results 19 comments of Jacob Foster

The IRC parser that tmi.js uses (`irc-message` by Fionn Kelleher (sigkell)) and many other parsers will parse an empty tag as `true`. https://github.com/tmijs/tmi.js/blob/92d7ccff8cecf33bc28c1f40612228e01943a4ff/lib/parser.js#L153 I personally wouldn't choose it to be...

This library was not a commissioned by Twitch. It is not associated or affiliated with Twitch. It's an open source project.

A lot of documentation has been added to the [`types.d.ts`](https://github.com/tmijs/tmi.js/blob/4f05e4786b679badc7972ccb58abc378d6f44f26/types.d.ts) file. This file is very incomplete and broken but it's at least a place to coherently put the docs which...

I use a bit of code to change kebab-case to camelCase using lodash: ```javascript const _ = require('lodash'); function userObj(user) { return _.mapKeys(user, n => _.camelCase(n)); } client.on('message', (channel, _userstate,...

I don't know if the module should filter those messages out, but you could do it yourself like this: ```javascript let joinedChannels = []; client.on('join', (channel, username, self) => {...

A basic constraint: ```javascript word[category].prob = Math.max(0.01, Math.min(0.99, word[category].prob)); ```

I want it for styling an Electron app's dev tools while I work on it. It doesn't come out perfectly ![Chrome Dev Tools with the theme applied](https://i.gyazo.com/398714e2019da767c682400956e24f17.png) but it's usable...

The sound effects work for me and it's using an [explicit version of the library](https://codingtrain.github.io/Asteroids/libraries/p5.sound.js). Try opening the console and taking a look. You might get information pointing to ["Autoplay...

Related to your issue's problem: What version of tmi.js are you using? Node will hang if there are timers, open socket connections, etc., so can you give me minimal code...