gigachad-dev / telegram-twitch-notifications Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
2022-12-25_14:29:51.88214 file:///home/c55038/twitch-notifications.na4u.ru/app/dist/twitch/eventsub.js:80
2022-12-25_14:29:51.88219 game: channelEntity.stream.game,
2022-12-25_14:29:51.88220 ^
2022-12-25_14:29:51.88221
2022-12-25_14:29:51.88222 TypeError: Cannot read properties of undefined (reading 'game')
2022-12-25_14:29:51.88223 at EventSub.onStreamOffline (file:///home/c55038/twitch-notifications.na4u.ru/app/dist/twitch/eventsub.js:80:40)
2022-12-27_04:17:09.25698 file:///home/c55038/twitch-notifications.na4u.ru/app/dist/twitch/eventsub.js:66
2022-12-27_04:17:09.25707 message_thread_id: channelEntity.topicId,
2022-12-27_04:17:09.25708 ^
2022-12-27_04:17:09.25709
2022-12-27_04:17:09.25709 TypeError: Cannot read properties of null (reading 'topicId')
2022-12-27_04:17:09.25709 at EventSub.sendMessage (file:///home/c55038/twitch-notifications.na4u.ru/app/dist/twitch/eventsub.js:66:46)
2022-12-27_04:17:09.25710 at EventSub.onStreamOnline (file:///home/c55038/twitch-notifications.na4u.ru/app/dist/twitch/eventsub.js:54:14)
2022-12-27_04:17:09.25710 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
We can store information about the previous stream and compare the title and game category, if any of this changes, then send a new notification
GrammyError: Call to 'answerCallbackQuery' failed! (400: Bad Request: query is too old and response timeout expired or query ID is invalid)
2023-01-15_06:55:03.49734 at toGrammyError (/home/c55038/kopblto.na4u.ru/app/node_modules/grammy/out/core/error.js:35:12)
2023-01-15_06:55:03.49735 at ApiClient.callApi (/home/c55038/kopblto.na4u.ru/app/node_modules/grammy/out/core/client.js:86:48)
2023-01-15_06:55:03.49736 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-01-15_06:55:03.49736 at async run (/home/c55038/kopblto.na4u.ru/app/node_modules/grammy/out/composer.js:76:5)
2023-01-15_06:55:03.49737 at async Promise.all (index 1)
2023-01-15_06:55:03.49737 at async /home/c55038/kopblto.na4u.ru/app/node_modules/grammy/out/composer.js:61:13
2023-01-15_06:55:03.49738 at async /home/c55038/kopblto.na4u.ru/app/node_modules/grammy/out/composer.js:56:9
2023-01-15_06:55:03.49738 at async /home/c55038/kopblto.na4u.ru/app/node_modules/grammy/out/composer.js:56:9
2023-01-15_06:55:03.49739 at async /home/c55038/kopblto.na4u.ru/app/node_modules/grammy/out/composer.js:483:13
2023-01-15_06:55:03.49739 at async /home/c55038/kopblto.na4u.ru/app/node_modules/grammy/out/composer.js:61:13 {
2023-01-15_06:55:03.49741 error: GrammyError: Call to 'answerCallbackQuery' failed! (400: Bad Request: query is too old and response timeout expired or query ID is invalid)
2023-01-15_06:55:03.49742 at toGrammyError (/home/c55038/kopblto.na4u.ru/app/node_modules/grammy/out/core/error.js:35:12)
2023-01-15_06:55:03.49742 at ApiClient.callApi (/home/c55038/kopblto.na4u.ru/app/node_modules/grammy/out/core/client.js:86:48)
2023-01-15_06:55:03.49743 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-01-15_06:55:03.49743 at async run (/home/c55038/kopblto.na4u.ru/app/node_modules/grammy/out/composer.js:76:5)
2023-01-15_06:55:03.49744 at async Promise.all (index 1)
2023-01-15_06:55:03.49744 at async /home/c55038/kopblto.na4u.ru/app/node_modules/grammy/out/composer.js:61:13
2023-01-15_06:55:03.49745 at async /home/c55038/kopblto.na4u.ru/app/node_modules/grammy/out/composer.js:56:9
2023-01-15_06:55:03.49745 at async /home/c55038/kopblto.na4u.ru/app/node_modules/grammy/out/composer.js:56:9
2023-01-15_06:55:03.49746 at async /home/c55038/kopblto.na4u.ru/app/node_modules/grammy/out/composer.js:483:13
2023-01-15_06:55:03.49747 at async /home/c55038/kopblto.na4u.ru/app/node_modules/grammy/out/composer.js:61:13 {
2023-01-15_06:55:03.49748 method: 'answerCallbackQuery',
2023-01-15_06:55:03.49748 payload: { callback_query_id: '902564990247954358' },
2023-01-15_06:55:03.49749 ok: false,
2023-01-15_06:55:03.49749 error_code: 400,
2023-01-15_06:55:03.49750 description: 'Bad Request: query is too old and response timeout expired or query ID is invalid',
2023-01-15_06:55:03.49750 parameters: {}
2023-01-15_06:55:03.49752 },
2023-01-15_06:55:03.49752 ctx: Context {
2023-01-15_06:55:03.49753 update: { update_id: 932213697, callback_query: [Object] },
2023-01-15_06:55:03.49753 api: Api { raw: {}, config: [Object] },
2023-01-15_06:55:03.49754 me: {
2023-01-15_06:55:03.49754 id: 5937425702,
2023-01-15_06:55:03.49755 is_bot: true,
2023-01-15_06:55:03.49755 first_name: 'Twitch Notifications',
2023-01-15_06:55:03.49755 username: 'twitch_alarm_bot',
2023-01-15_06:55:03.49756 can_join_groups: true,
2023-01-15_06:55:03.49756 can_read_all_group_messages: false,
2023-01-15_06:55:03.49757 supports_inline_queries: false
2023-01-15_06:55:03.49757 },
2023-01-15_06:55:03.49758 menu: {
2023-01-15_06:55:03.49758 update: [Function: update],
2023-01-15_06:55:03.49759 close: [Function: close],
2023-01-15_06:55:03.49759 nav: [Function: nav],
2023-01-15_06:55:03.49760 back: [Function: back]
2023-01-15_06:55:03.49761 }
2023-01-15_06:55:03.49761 },
2023-01-15_06:55:03.49762 name: 'BotError'
2023-01-15_06:55:03.49762 }
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.