Links

V1.2.1

Information about the 1.2.2 Update.
If you need help at any point join our Discord Server and someone will help you.

Change Log

  • New commands added (embed, bot2bot, settings updatedb)
    • embed command allows you to change the type of message that is sent to the translation channel, in embed format or standard text. Standard text shows the users avatar and name instead of the bot.
    • bot2bot allows for messages sent from other bots, in non embedded format to be translated as well. (Due to limitation this has been implimented but is disabled for now)
    • As the new variables above are stored in the DB, they need new Columns to be added, as such updatedb will complete these actions.
  • Major code changes, new code implementations will change the DB and produce errors on first build, but this is a safe version to update to. Follow the below instructions.
    • Step 1: Make a pull request and update from Master branch.
      • Once you update the bot and it initializes you WILL get a db error, this is normal. (we are working on suppressing these)
    • Step 2: !t settings updatedb
      • This will throw another error but it will build the missing columns.
      • The default value for embed is on and botbot is off.
      • Running this multiple times will cause error to be posted to webhook chan, this is a "Value exists" error. Preventing you from destroying the DB
    • Step 3: Completed, and now working.
      • Once you have completed Step 2, the bot will have come online, but it wont have fully Initialised.
      • To prevent a never ending loop of errors, the VERY FIRST message or command sent on the server will Initialise the DB fully. Meaning you will have to send that message again.
        • Please Note Due to Automatic dyno restarts the first message after each restart will share the same behaviour as above.
  • Added in command triggers and command deletion to clean up command channels.
  • Custom Emoji's are now supported and will be sent with the translated message correctly, with the exception of a few languages.
  • DM Translation have been disabled as it has been identified they never worked as intended. they will be re-introduced in a later update.
  • Various Security vulnerabilities fixed.
  • Dev Dependencies core to this bot, the google-translate-api & google-translate-token & gulp-watchhave been updated
  • eslint has been replaced with babel-eslint
  • !t settings updatebot Has been DISABLED - This is not needed as of yet and with the similarities to the !t settings updatedb command it may cause issues.
  • Deploy with Heroku Setup and integration.
Last modified 1yr ago
Copyright © 2019 - 2023 RitaBotProject. All rights reserved.