QuartzWarrior / Tip.cc-Autocollect

Your personal tip.cc auto-collector. Earn crypto effortlessly through Discord.
GNU Affero General Public License v3.0
18 stars 6 forks source link

Error #2

Closed kevincrafturu2 closed 2 years ago

kevincrafturu2 commented 2 years ago

Hi, i use the free version and i use replit (an free host) to use this, but i cant because it appears and error and it says Replit: Updating package configuration

--> python3 -m poetry init --no-interaction --name repl_nix_Tipcc-Autocollect /nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/bin/python3: No module named poetry.main; 'poetry' is a package and cannot be directly executed exit status 1

kevincrafturu2 commented 2 years ago

if any with replit have this error it will be good to see if its replit or its the project or and best alternative to use this

QuartzWarrior commented 2 years ago

Disable poetry/search for packages, and do python -m pip install -U -r requirements.txt

kevincrafturu2 commented 2 years ago

How can i disable it? Or how can i instal requirments.txt there?

Clockodilee commented 2 years ago

You can disable it by clicking the 3 dots, "show hidden files", then go to ".replit", scroll all the way down and set "guessImports" to False

kevincrafturu2 commented 2 years ago

Oh thanks yo!

kevincrafturu2 commented 2 years ago

Captura de pantalla 2022-07-30 154756 it appears this as you see its disabled

QuartzWarrior commented 2 years ago

You must run that command in the "shell" tab.

kevincrafturu2 commented 2 years ago

It gives an error

python -m pip install -U -r requirements.txt File "", line 1 python -m pip install -U -r requirements.txt ^ SyntaxError: invalid syntax

QuartzWarrior commented 2 years ago

It gives an error

python -m pip install -U -r requirements.txt File "", line 1 python -m pip install -U -r requirements.txt ^ SyntaxError: invalid syntax

Are you running it in the "console" tab or the "shell" tab ?

kevincraftuy2 commented 2 years ago

Hi im having problems in the other acc, so im running that in shell ofc and it says ~/Tipcc-Autocollect$ python -m pip install -U -r requirements.txt /nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/bin/python: No module named pip ~/Tipcc-Autocollect$

kevincraftuy2 commented 2 years ago

But if i use python and after python -m pip install -U -r requirements.txt it says that of invalid syntax

kevincraftuy2 commented 2 years ago

If you have the project in replit running pls send a link to fork it or idk

QuartzWarrior commented 2 years ago

Open the "replit.nix"

Replace everything with

{ pkgs }: {
  deps = [
    pkgs.python38Full
  ];
  env = {
    PYTHON_LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
      # Needed for pandas / numpy
      pkgs.stdenv.cc.cc.lib
      pkgs.zlib
      # Needed for pygame
      pkgs.glib
      # Needed for matplotlib
      pkgs.xorg.libX11
    ];
    PYTHONBIN = "${pkgs.python38Full}/bin/python3.8";
    LANG = "en_US.UTF-8";
  };
}
kevincraftuy2 commented 2 years ago

~/Tipcc-Autocollect$ python -m pip install -U -r requirements.txt /nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/bin/python: No module named pip Detected change in environment, reloading shell... ~/Tipcc-Autocollect$

same

kevincraftuy2 commented 2 years ago

Or if its for replit its there any free host like replit 24/7 but not heroku?

QuartzWarrior commented 2 years ago

Well you can use Oracle which works really well, but you need a credit card to verify. It is completely free though.

QuartzWarrior commented 2 years ago

Mind sending me the link to your repl ?

kevincraftuy2 commented 2 years ago

sure

kevincraftuy2 commented 2 years ago

https://replit.com/join/zypvrxozuc-kevincrafturu2f

kevincraftuy2 commented 2 years ago

Yo i founded that replit of you im using it thx

QuartzWarrior commented 2 years ago

Sure

kevincrafturu2 commented 2 years ago

Ready, two more questions and i will close, How can i make an cooldoown to dont get caught because in 1cpm i got banned in an alt i have 2 more alts and how can i gain the crypto from an channel and tip from another channel

QuartzWarrior commented 2 years ago

Did I not add that feature yet ? I thought I did. The CPM feature is only for phrase drops. I'll be adding a cool down feature to normal drops and envelopes. Also, 1 CPM literally means 1 Character Per Minute, so that will almost never finish a sentence if you have it that low. Change it to 310 or something more realistic.

QuartzWarrior commented 2 years ago

We are still working on a multi token feature, but for now you can create multiple repls.

QuartzWarrior commented 2 years ago

When it asks:

"What is the channel id where you want your alt to tip your main? (Remember, the tip.cc bot has to be in the server with this channel.)

If None, send 1.

-> "

that is asking what channel you want your alts to tip to your main account.

The alts automatically snipe from every channel, and they will tip you the goods/crypto in the channel which you entered above.

kevincrafturu2 commented 2 years ago

Alr, so its there an code that i can delete to only claim aidrops? Not phrase drop or redpackets just aidrops

QuartzWarrior commented 2 years ago

I can add that, sure. Thanks for the suggestion.

kevincrafturu2 commented 2 years ago

Alr i was asking like delete some code rn but ido thanks for answering

QuartzWarrior commented 2 years ago

@kevincrafturu2 you can just change elif "Phrase drop!" in embed.title: to elif "Phrase drop!" in embed.title and False: