You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 21, 2023. It is now read-only.
If I try to launch this Bot and run the following command /testCommand Hello I get the following error:
E:\Code\Bots\Telegram\Roulette-bot\node_modules\telegraf-command-parts\node_modules\telegraf\composer.js:178
const predicate = (ctx) => updateTypes.includes(ctx.updateType) || updateTypes.some((type) => ctx.updateSubTypes.includes(type))
^
TypeError: Cannot read properties of undefined (reading 'includes')
at E:\Code\Bots\Telegram\Roulette-bot\node_modules\telegraf-command-parts\node_modules\telegraf\composer.js:178:118
at Array.some (<anonymous>)
at predicate (E:\Code\Bots\Telegram\Roulette-bot\node_modules\telegraf-command-parts\node_modules\telegraf\composer.js:178:84)
at E:\Code\Bots\Telegram\Roulette-bot\node_modules\telegraf-command-parts\node_modules\telegraf\composer.js:154:51
at E:\Code\Bots\Telegram\Roulette-bot\node_modules\telegraf-command-parts\node_modules\telegraf\composer.js:142:43
at execute (E:\Code\Bots\Telegram\Roulette-bot\node_modules\telegraf\lib\composer.js:485:23)
at E:\Code\Bots\Telegram\Roulette-bot\node_modules\telegraf\lib\composer.js:486:27
at E:\Code\Bots\Telegram\Roulette-bot\node_modules\telegraf\lib\composer.js:161:31
at execute (E:\Code\Bots\Telegram\Roulette-bot\node_modules\telegraf\lib\composer.js:485:23)
at E:\Code\Bots\Telegram\Roulette-bot\node_modules\telegraf\lib\composer.js:474:20
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I use the following dependencies:
And use the following code:
If I try to launch this Bot and run the following command
/testCommand Hello
I get the following error:The text was updated successfully, but these errors were encountered: