From 1053289f3acf3ed2ec9821418dc7d2311664cb54 Mon Sep 17 00:00:00 2001 From: Justin R Date: Thu, 1 Oct 2020 12:01:29 -0500 Subject: [PATCH 1/2] Updated machaao bin file It appears as though the argument -s for start was changed to -n in a recent update. The issue with this is that the machaao bin file is still expecting -s and causing issues when trying to create the bot. --- bin/machaao | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/machaao b/bin/machaao index 4e1de21..07be418 100755 --- a/bin/machaao +++ b/bin/machaao @@ -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) From ba2542f2c6da20b0045dd1cac0e3e3b8f15066f5 Mon Sep 17 00:00:00 2001 From: Justin R Date: Thu, 1 Oct 2020 15:25:02 -0500 Subject: [PATCH 2/2] Created README with my experience Completed creation of a bot and tested the overall experience. --- rodrrj/README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 rodrrj/README.md diff --git a/rodrrj/README.md b/rodrrj/README.md new file mode 100644 index 0000000..d74336d --- /dev/null +++ b/rodrrj/README.md @@ -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. \ No newline at end of file