ubq323 707a74ba0e discord: support sending files with just a URL
previously, the code assumed each file had a Data, and crashed if this was not present.
now, we detect this condition, and send the URL instead.

the discord client will display URLs in a message of their own
as inline embeds, without any special behavior needed on our part.

this commit makes the same changes to the webhook and non-webhook code.
2024-08-16 11:58:33 +01:00
..
2021-12-18 22:43:29 +01:00
2024-05-24 00:23:50 +02:00
2024-05-23 23:57:30 +02:00
2019-09-07 22:46:58 +02:00