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^cuon Tsubaki server.- When Tsubaki says "Do you want to reload?" click the yes emoji (or type
+:white_check_mark)
- When Tsubaki says "Do you want to reload?" click the yes emoji (or type
- If you updated
dadguidecog, you should then updatepadinfo,padevents,padsearch, andpadglobalafterwards. 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 padeventsorrldgcogswhich stands for "reload dadguide cogs"
- This is accomplished by typing
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 pador^repo update miscdepending 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 updatewithout an argument as this will immediately update all cogs!!!!!!!!!!! (what an utterly terrible design decision) - If you updated
dadguidethen 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
- pipupdate the library
- Use cog update, do NOT reload the cog!!! (Press X when it asks you)
- Restart the bot; this will reload the changes from steps 1 & 2 at the same time, hooray