This pull request addresses an issue where the BOT_NAME constant was not properly defined in the .env file, resulting in the bot displaying "undefined" as the name, for instance, when introducing itself in WhatsApp. To resolve this, a fallback mechanism has been implemented, setting the BOT_NAME constant to "Sydney" when not defined in the .env file. With this fix, the bot will now display the default name "Sydney" in case the name is not explicitly provided in the configuration. This prevents unexpected behavior due to missing configurations.
This pull request addresses an issue where the
BOT_NAME
constant was not properly defined in the .env file, resulting in the bot displaying "undefined" as the name, for instance, when introducing itself in WhatsApp. To resolve this, a fallback mechanism has been implemented, setting theBOT_NAME
constant to "Sydney" when not defined in the .env file. With this fix, the bot will now display the default name "Sydney" in case the name is not explicitly provided in the configuration. This prevents unexpected behavior due to missing configurations.