We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21b3574 commit eaf2c16Copy full SHA for eaf2c16
src/bot/bot.ts
@@ -19,7 +19,7 @@ import { getTwitchToken, playAudio } from '@lib/utils/utils.js'
19
20
export class Bot {
21
authProvider: RefreshingAuthProvider
22
- audioAlertUsers: Map<string, string>
+ audioAlertUsers: Set<string>
23
apiClient: ApiClient
24
botID: string
25
broadcasterID: string
@@ -42,7 +42,7 @@ export class Bot {
42
this.authProvider = authProvider
43
this.apiClient = apiClient
44
this.commands = new Map()
45
- this.audioAlertUsers = new Map()
+ this.audioAlertUsers = new Set(['89181064', '537326154']) // remove 89181064 after testing
46
this.cooldownList = new Map()
47
this.permitList = new Map()
48
this.broadcasterID = process.env.TWITCH_ID ?? ''
0 commit comments