Code Monkey home page Code Monkey logo

Comments (5)

Scott-778 avatar Scott-778 commented on June 2, 2024

You must have deleted something when you were filling it in. Check that your wallet address is in between quotes and also look at the end of lines where you edited and make sure they end with ; instead of :

from coinmarketcap-sniper-bot.

Scott-778 avatar Scott-778 commented on June 2, 2024

It looks like the error might be from the command you entered in the command prompt. Try using cd C:\Users\your file location. Then node cmcBot.js

from coinmarketcap-sniper-bot.

richard-p9 avatar richard-p9 commented on June 2, 2024

It was the command that was incorrect, now it's coming up with an error that I put in an incorrect depot which is:

"Uncaught SyntaxError: Identifier 'TelegramClient' has already been declared."

Aside from the: const {TelegramClient} = require("telegram"); code the only other code that references TelegramClient is:
const client = new TelegramClient(stringSession, apiId, apiHash, {
connectionRetries: 5,

syntax error

from coinmarketcap-sniper-bot.

Scott-778 avatar Scott-778 commented on June 2, 2024

The only thing it can be is that there are two const {TelegramClient} = require("telegram"); try deleting one and saving the file when you are done. Are you editing the file with the command prompt?

from coinmarketcap-sniper-bot.

richard-p9 avatar richard-p9 commented on June 2, 2024

from coinmarketcap-sniper-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.