Rename the exported member

This commit is contained in:
Oliver-Akins 2021-12-24 03:42:59 -07:00
parent 1f21f63ada
commit 5f356f3376

View file

@ -31,7 +31,7 @@ export function reset_users() {
export var question_index = -1;
export var user_answers = {};
export var user_right_count = {};
export const correct_answers = config.quiz.answers;
export const questions = config.quiz.answers;
export var commands = {};
@ -59,6 +59,10 @@ client.on(`connected`, () => {
log.info(`Connected to Twitch`);
});
client.on(`message`, (channel, ctx, msg, self) => {
console.log(msg);
});
client.on(`chat`, (channel, ctx, msg, self) => {
if (self) return;