Skip to content

Allow aibot email to be changed #239

@Mijago

Description

@Mijago

Right now, the used email is hardcoded in the bundle.js:

    var aiBotId = "ai-bot";
    var aiBotAccountEmail2 = "[email protected]";
    var aiBotEmailSocialKey3 = (0, import_core58.buildSocialIdString)({
      type: import_core58.SocialIdType.EMAIL,
      value: aiBotAccountEmail2
    });

I would expect this email to be configurable via environment variables, similar to the first and last name.
Changing the line "aiBotAccountEmail2" in the bundle.js inside the docker container manually solves this, but this is not a good solution.

The hardcoded Email leads to the system sending emails to the hardcoded address "[email protected]", especially when one pings the bot or writes a PM to the bot whilst offline.

Sadly I did not find a repository for the AIBot, or I would have provided a PR for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions