Unverified Commit 647811c4 authored by Desmu's avatar Desmu Committed by GitHub

Update georgeslasaucisseblagues_twitch.js

parent deb2f530
'use strict';
var time_before_answer = 5000;
const tmi = require('tmi.js');
const https = require('https');
......@@ -46,7 +48,7 @@ client.on('chat', function(channel, user, message, isSelf) {
reponse = data.reponse.replace(/\n/g, ' ');
setTimeout(function() {
client.say(channel, reponse);
}, 5000);
}, time_before_answer);
}
} catch (e) {
console.log('Parse JSON error : '+e);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment