mirror of
https://github.com/streamwall/streamwall.git
synced 2026-01-26 07:02:48 -05:00
Fix color argument parsing
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import EventEmitter from 'events'
|
||||
|
||||
import Color from 'color'
|
||||
import ejs from 'ejs'
|
||||
import { State } from 'xstate'
|
||||
import { ChatClient, SlowModeRateLimiter, LoginError } from 'dank-twitch-irc'
|
||||
@@ -47,7 +47,7 @@ export default class TwitchBot extends EventEmitter {
|
||||
async onReady() {
|
||||
const { client } = this
|
||||
const { channel, color } = this.config
|
||||
await client.setColor(color)
|
||||
await client.setColor(Color(color).object())
|
||||
await client.join(channel)
|
||||
this.emit('connected')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user