Add better support for embedded file attachments
A few extension functions could be added to help manage embedding image attachments. Currently, the following code must be used to achieve this:
channelClient.createMessage(CreateMessage(content = "some comment", embed = Embed(image = EmbedImage(url = "attachment://image.png"))), imageFile.toFileData())
Ideal candidates include CombinedMessageEmbed
and ChannelClient
itself.