This time:
- Realising I was thinking completely wrongly about which username I needed: I just wanted the "from" address of a message, not the username of the bot
- Implemented code that uses the from address to prevent goldstarring yourself
Next time:
- Provide from address in matrix and command-line receivers
- extract a smaller username from an MXID in goldstar