Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated machaao bin file #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions bin/machaao
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@ def cli():

@click.command()
@click.option('-n', type=str, default='.', help="Enter the name of project.")
def start(s):
def start(n):

path = os.path.join(CURR_DIR, s)
path = os.path.join(CURR_DIR, n)

try:
os.mkdir(path)
except OSError:
raise SystemExit(0)

click.secho(f'Project {s} created...', fg="blue", bold=True)
click.secho(f'Project {n} created...', fg="blue", bold=True)
copyany(FILE_DIR+"/chatbot.py", path+"/")
click.secho(f'Copying files to project directory...', fg="green", bold=True)
click.secho(f'Project Created, Keep Developing ChatBots', fg="blue", blink=True)
Expand Down
3 changes: 3 additions & 0 deletions rodrrj/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#Experience with machaao

My experience was pretty straight foward. Aside from the issues already resolved regarding the start() portion of the command line arguments, getting my bot ready to go was easy. I initially had some trouble as the "Create" button in MessengerX was still greyed out after I completed all the required fields. Once I got the token and updated the appropriate python file the bot was quickly up and running and repeating what I said. The process felt pretty straight forward and was of no challenge whatsoever.