Changed Fixed

v1.2.10 Patch Update

Rares
4 years ago

v1.2.10 (300522) -- Patch Update

Changed
  • The logRefreshMenu variable was changed from '... refreshed `refreshSettings`' to '... refreshed `Settings`';
  • For now, until members manage to understand the various concepts of the Kebabot2 (especially the Taco function), many lines of code with Ephemeral Message and related variables have been commented out, so that the bot will send public messages (confirmation, errors & so on);
  • We optimized the code by eliminating unnecessary lines, or simplifying jobs, also improvements have been made to each loop using let and the classic for instead of foreach;
Fixed
  • When Messages was refreshed using the Admin Menu, the others cron-jobs were deleted too; Now we're deleting and re-creating just the Messages ones, keeping the others safe by assigning IDs;
  • The messages were programmed only for those with images (link), so when there was text in the cell, the robot did not know how to interpret it; 
  • To avoid large log sizes, we will use some log rotate modules;
  • Kebabot could enter an infinite loop with 🌮  so the message that triggers Taco has been modified, adding an extra requirement: the sender of the message must not be a robot;
  • The refreshSettings function was not called correctly, so although it announces that it is running, nothing happens because of a typo with emoji written in the value field instead of the text field;