Updating Tsubaki after merging a PR - TsubakiBotPad/pad-cogs GitHub Wiki

Updating all cogs

  • To update all cogs, type ^cog update. This is aliased as ^cu on Tsubaki server.
    • When Tsubaki says "Do you want to reload?" click the yes emoji (or type +:white_check_mark)
  • If you updated dadguide cog, you should then update padinfo, padevents, padsearch, and padglobal afterwards. Even if the PR caused these cogs to be updated, Tsubaki won't have done them in the right order so you need to do them manually yourself.
    • This is accomplished by typing ^reload padinfo padglobal padsearch padevents or rldgcogs which stands for "reload dadguide cogs"

Updating a single cog

If you want to update a single cog the process is slightly more annoying:

  • First download the updated repo with ^repo update pad or ^repo update misc depending where the PR was from
  • Then update the specific cog or cogs with ^cog update $cogname, for example ^cog update dadguide. Do NOT type ^cog update without an argument as this will immediately update all cogs!!!!!!!!!!! (what an utterly terrible design decision)
  • If you updated dadguide then see above for updating the rest of the cogs that depend on dadguide

Updating a cog & a library when the library had a breaking change

  1. pipupdate the library
  2. Use cog update, do NOT reload the cog!!! (Press X when it asks you)
  3. Restart the bot; this will reload the changes from steps 1 & 2 at the same time, hooray