sogebot / sogeBot

sogeBot - Free Twitch Bot built on Node.js
https://sogebot.xyz/
GNU General Public License v3.0
289 stars 65 forks source link

Bot responde more then 1 time #1218

Closed ghost closed 6 years ago

ghost commented 6 years ago

Expected behavior

Actual behavior

My bot uptime is 3 days, and now i noticed thing: on each command he send 8 responses (8 same messages in chat) It's on all commands. On !_debug, same. Just for all commands bot respond 8 times.

Steps to reproduce

Additional informations

My master is on https://github.com/sogehige/sogeBot/commit/6fec19bb8949c90ec8eae0372c6c3d90c7bd55da commit

2018-08-24T16:50:45.101 DEBUG: GENERAL | OS: npm/6.1.0 node/v10.3.0 linux x64 | DB: mongodb | Bot version: 8.0.0-SNAPSHOT | Bot uptime: 305205.225 | Bot lang: ru | Bot mute: false
2018-08-24T16:50:45.101 DEBUG: SYSTEMS | alias, bets, commercial, cooldown, customCommands, highlights, keywords, moderation, points, price, queue, quotes, raffles, ranks, songs, timers
2018-08-24T16:50:45.101 DEBUG: GAMES   |
2018-08-24T16:50:45.103 DEBUG: WIDGETS | chat, eventlist, raffles
2018-08-24T16:50:45.103 DEBUG: OAUTH   | BOT true | BROADCASTER true
2018-08-24T16:50:45.104 DEBUG: ======= END OF DEBUG MESSAGE =======
sogehige commented 6 years ago

Logs?

Dne pá 24. 8. 2018 15:59 uživatel Satont notifications@github.com napsal:

Reopened #1218 https://github.com/sogehige/sogeBot/issues/1218.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sogehige/sogeBot/issues/1218#event-1807728931, or mute the thread https://github.com/notifications/unsubscribe-auth/ASpN1Av3GnoV5DQUeduyBrlu0ph7QM12ks5uUAargaJpZM4WLY9L .

ghost commented 6 years ago

In logs i just have 8 times command respond

sogehige commented 6 years ago

Then send that logs

Dne pá 24. 8. 2018 16:14 uživatel sogehelper notifications@github.com napsal:

In logs i just have 8 times command respond

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sogehige/sogeBot/issues/1218#issuecomment-415771855, or mute the thread https://github.com/notifications/unsubscribe-auth/ASpN1FD5GzTpwdjalqwfC4yhBTqxc43Rks5uUAphgaJpZM4WLY9L .

ghost commented 6 years ago
2018-08-24T16:44:08.265 <<< !subs [user]
2018-08-24T16:44:08.267 <<< !subs [user]
2018-08-24T16:44:08.267 <<< !subs [user]
2018-08-24T16:44:08.268 <<< !subs [user]
2018-08-24T16:44:08.268 <<< !subs [user]
2018-08-24T16:44:08.277 <<< !subs [user]
2018-08-24T16:44:08.284 <<< !subs [user]
2018-08-24T16:44:08.285 <<< !subs [user]
2018-08-24T16:44:09.605 |! Took 1323ms to process: !subs 
2018-08-24T16:44:09.627 |! Took 1368ms to process: !subs 
2018-08-24T16:44:09.661 |! Took 1405ms to process: !subs 
2018-08-24T16:44:09.686 |! Took 1420ms to process: !subs 
2018-08-24T16:44:09.701 |! Took 1420ms to process: !subs 
2018-08-24T16:44:09.719 |! Took 1452ms to process: !subs 
2018-08-24T16:44:09.721 |! Took 1457ms to process: !subs 
2018-08-24T16:44:09.768 |! Took 1490ms to process: !subs 
2018-08-24T16:44:10.377 >>> @user, now 0 active subs. Subs on channel: 199. Last resub was:  c0ordern (5 часов назад) [user]
2018-08-24T16:44:10.499 >>> @user, now 0 active subs. Subs on channel: 199. Last resub was:  c0ordern (5 часов назад) [user]
2018-08-24T16:44:10.500 >>> @user, now 0 active subs. Subs on channel: 199. Last resub was:  c0ordern (5 часов назад) [user]
2018-08-24T16:44:10.642 >>> @user, now 0 active subs. Subs on channel: 199. Last resub was:  c0ordern (5 часов назад) [user]
2018-08-24T16:44:10.793 >>> @user, now 0 active subs. Subs on channel: 199. Last resub was:  c0ordern (5 часов назад) [user]
2018-08-24T16:44:10.808 >>> @user, now 0 active subs. Subs on channel: 199. Last resub was:  c0ordern (5 часов назад) [user]
2018-08-24T16:44:10.819 >>> @user, now 0 active subs. Subs on channel: 199. Last resub was:  c0ordern (5 часов назад) [user]
2018-08-24T16:44:10.850 >>> @user, now 0 active subs. Subs on channel: 199. Last resub was:  c0ordern (5 часов назад) [user]

Also my cpu in config is 1

sogehige commented 6 years ago

Thanks, possibly socket thing on reconnect to tmi, bot restart will fix it until I do proper fix

Dne pá 24. 8. 2018 16:18 uživatel sogehelper notifications@github.com napsal:

2018-08-24T16:44:08.265 <<< !subs [user] 2018-08-24T16:44:08.267 <<< !subs [user] 2018-08-24T16:44:08.267 <<< !subs [user] 2018-08-24T16:44:08.268 <<< !subs [user] 2018-08-24T16:44:08.268 <<< !subs [user] 2018-08-24T16:44:08.277 <<< !subs [user] 2018-08-24T16:44:08.284 <<< !subs [user] 2018-08-24T16:44:08.285 <<< !subs [user] 2018-08-24T16:44:09.605 |! Took 1323ms to process: !subs 2018-08-24T16:44:09.627 |! Took 1368ms to process: !subs 2018-08-24T16:44:09.661 |! Took 1405ms to process: !subs 2018-08-24T16:44:09.686 |! Took 1420ms to process: !subs 2018-08-24T16:44:09.701 |! Took 1420ms to process: !subs 2018-08-24T16:44:09.719 |! Took 1452ms to process: !subs 2018-08-24T16:44:09.721 |! Took 1457ms to process: !subs 2018-08-24T16:44:09.768 |! Took 1490ms to process: !subs 2018-08-24T16:44:10.377 >>> @user, now 0 active subs. Subs on channel: 199. Last resub was: c0ordern (5 часов назад) [user] 2018-08-24T16:44:10.499 >>> @user, now 0 active subs. Subs on channel: 199. Last resub was: c0ordern (5 часов назад) [user] 2018-08-24T16:44:10.500 >>> @user, now 0 active subs. Subs on channel: 199. Last resub was: c0ordern (5 часов назад) [user] 2018-08-24T16:44:10.642 >>> @user, now 0 active subs. Subs on channel: 199. Last resub was: c0ordern (5 часов назад) [user] 2018-08-24T16:44:10.793 >>> @user, now 0 active subs. Subs on channel: 199. Last resub was: c0ordern (5 часов назад) [user] 2018-08-24T16:44:10.808 >>> @user, now 0 active subs. Subs on channel: 199. Last resub was: c0ordern (5 часов назад) [user] 2018-08-24T16:44:10.819 >>> @user, now 0 active subs. Subs on channel: 199. Last resub was: c0ordern (5 часов назад) [user] 2018-08-24T16:44:10.850 >>> @user, now 0 active subs. Subs on channel: 199. Last resub was: c0ordern (5 часов назад) [user]

Also my cpu in config is 1

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sogehige/sogeBot/issues/1218#issuecomment-415773032, or mute the thread https://github.com/notifications/unsubscribe-auth/ASpN1I4dpMiiby55IAbaOrUHY4vsWnUqks5uUAtMgaJpZM4WLY9L .

sogehige commented 6 years ago

Fixed on twitch-js side