diff --git a/package.json b/package.json index c85878c..e3cce96 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "iq-bot", "productName": "200iqbot", - "version": "0.0.4", + "version": "0.0.5", "description": "Простой бот для Twitch.tv", "main": "src/main.js", "repository": { diff --git a/src/index.html b/src/index.html index 4762300..a4798b4 100644 --- a/src/index.html +++ b/src/index.html @@ -188,7 +188,7 @@

IQ-тест

theme = args.theme; UI.toggleTheme(theme); - + document.querySelector('header').querySelector('.logo'). innerHTML += `v${ args.ver}` document.querySelector('#commandsState').checked = args.commandsState; document.querySelector('#iqState').checked = args.iqState; document.querySelector('header').querySelector('#username').innerHTML = username; diff --git a/src/main.js b/src/main.js index b4eb5a3..81def37 100644 --- a/src/main.js +++ b/src/main.js @@ -232,7 +232,8 @@ app.on('ready', () => { result = {username: user.username, theme: user.theme, commandsState: bot.config().commandsState, - iqState: bot.config().iqState + iqState: bot.config().iqState, + ver: app.getVersion() }; return result; });