I didn’t think that Discord allowed you to export this data for an entire Discord server? I know you can “takeout” your personal data, but that would be something each user needed to do.
I also thought they expired all links after a while so any links you could extract wouldn’t prove all that useful.