TheDiscordian / onebot

One bot to rule them all...
BSD 3-Clause "New" or "Revised" License
14 stars 1 forks source link

Return Message object from sending functions #34

Open TheDiscordian opened 1 year ago

TheDiscordian commented 1 year ago

It'd be very helpful if whenever possible we returned a resulting Message object for example:

    Send(msg Message) Message
    SendText(text string) Message
    SendFormattedText(text, formattedText string) Message

I'm not completely sure how often this will be possible (depends on the protocol), but hopefully very often. This can be useful for things like sending a message and logging the unique ID of the message, or adding reactions onto it.