The reasoning, so that the end users know how many commands got synced. Could be handy to debug issues like the commands not being registered to that guild, etc.
Summary of changes made
tree.sync returns a list of commands synced, so len() it and display it.
Checklist
[x] This PR changes the jishaku module/cog codebase
[x] These changes add new functionality to the module/cog
[ ] These changes fix an issue or bug in the module/cog
[x] I have tested that these changes work on a production bot codebase
[ ] I have tested these changes against the CI/CD test suite
[ ] I have updated the documentation to reflect these changes
[ ] This PR changes the CI/CD test suite
[ ] I have tested my suite changes are well-formed (all tests can be discovered)
[ ] These changes adjust existing test cases
[ ] These changes add new test cases
[ ] This PR changes prose (such as the documentation, README or other Markdown/RST documents)
[ ] I have proofread my changes for grammar and spelling issues
[ ] I have tested that any changes regarding Markdown/RST syntax result in a well formed document
Rationale
The reasoning, so that the end users know how many commands got synced. Could be handy to debug issues like the commands not being registered to that guild, etc.
Summary of changes made
tree.sync
returns a list of commands synced, solen()
it and display it.Checklist