AyushSehrawat/eco-bot

Error

KishibeR opened this issue · 6 comments

asking for 'run = "echo hello word" to be added to the file

asking for 'run = "echo hello word" to be added to the file

Looks like you are trying to use replit. If you cloned this repository using replit git functionality , they create a .replit file.
In that file you can add the run command

onBoot = "pip3 install <dependencies >" 
run = "python3 main.py"

Replace < dependencies > with the modules required like
pip3 install discord.py

asking for 'run = "echo hello word" to be added to the file

I assumed it is .replit , if not , please elaborate more.

asking for 'run = "echo hello word" to be added to the file

I assumed it is .replit , if not , please elaborate more.

yes i am using replit new issue though unable to decode .replit: Near Line 1 (last key parsed 'onBoot' ): expected value but found pip instead. does that make pip the dependencies?

yes i am using replit new issue though unable to decode .replit: Near Line 1 (last key parsed 'onBoot' ): expected value but found pip instead. does that make pip the dependencies?

.replit files are used to run the repl which aren't created on replit, but are forked from github.. The structure of .replit is

File

This images shows the structure of replit file

See this,
https://pip.pypa.io/en/stable/user_guide/#requirements-files

on how to create requirements.txt file

Error came, because i forgot " in the line