I note that you've coded it to always leave the Matrix space after this operation. I don't think it would be out of character for it to leave the Discord server as well.
Nice find, thanks for pointing it out. For further reading, the purpose and values of guild_active are explained here: https://gitdab.com/cadence/out-of-your-element/src/branch/main/docs/self-servi…
You deleted the thing that checks that the user has Manage Server permissions and you didn't put it back.
When creating a new variable, it ought to be declared with let or const. Please use `const here.
Looks good. Please address the invididual comments (or ask me to do it for you). Then I can do a final coverage check and merge this. Thanks for your patience!
This is fine and doesn't need changing (apart from making the status code 400, please)