I have some code to get the attachments of messages in certain channels, and log the urls. This worked fine at first, but now I get the TypeError "cannot read property