diff --git a/src/main.ts b/src/main.ts index cba9168..988f379 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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;