abayomi185 / simple-pump-and-dump-bot

Simple pump-and-dump bot for Binance and Kucoin Cryptocurrency Exchange
Apache License 2.0
78 stars 21 forks source link

Error with telegram-register.js #57

Open rayphoon88 opened 2 years ago

rayphoon88 commented 2 years ago

root@python01:/usr/local/repos/simple-pump-and-dump-bot/node_wip# node ./src/scrapers/telegram-register.js users.getFullUser error: TypeError: Cannot read properties of undefined (reading 'call') at TelegramScraper.call (file:///usr/local/repos/simple-pump-and-dump-bot/node_wip/src/scrapers/telegram.js:58:42) at getUser (file:///usr/local/repos/simple-pump-and-dump-bot/node_wip/src/scrapers/telegram-register.js:13:28) at file:///usr/local/repos/simple-pump-and-dump-bot/node_wip/src/scrapers/telegram-register.js:67:22 at file:///usr/local/repos/simple-pump-and-dump-bot/node_wip/src/scrapers/telegram-register.js:138:3 at ModuleJob.run (node:internal/modules/esm/module_job:185:25) at async Promise.all (index 0) at async ESMLoader.import (node:internal/modules/esm/loader:281:24) at async loadESM (node:internal/process/esm_loader:88:5) at async handleMainPromise (node:internal/modules/run_main:65:12) ? Please input your number with the country code; e.g +44XXX +6xxxxxxxxx ? Please enter your login code xxxxx

Nothing happens after this and it just sits there. I can see that it creates telegram.json in ./src/data but when running "npm start" it doesn't see Telegram as a configured coin scraper.

rayphoon88 commented 2 years ago

Telegram api_id and api_hash already configured in conf.yaml.