Skip to content

CleverbotIO: Do not call self._createBot() in the constructor #9

Open
@progval

Description

@progval

Please do not call self._createBot() in the constructor. It makes an HTTP which potentially takes time and slows down bot start up, as plugin constructors are not run in their own thread.
You could call it when it is first used instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions