Skip to content

Extension .cbot in factory() #134

@Bhudh

Description

@Bhudh

Hello!
In factory() help is written: "Save this as say-foo.cbot." and coded
factory(WheeledGrabber, "program/say-foo.cbot");

But .cbot extension doesn't work, and text "program/say-foo.cbot" will be written in bot program.
Only .txt extension works, and program runs.

Also, they may save file in program folder only manually. It will not work in bot-autonomy programs as bot saves file in files folder implicitly.
At the same time, the files folder must be explicitly specified in filepath for factory function. This creates a difference between the saved filename and the called one.

I would like to see both the help files brought into line with the capabilities of the code, and the addresses of the saved files brought into line with the names of the files passed to the factory function.

Best wishes, Bhudh.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions