TheDiscordian / onebot

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

Ping Tag Support #7

Open TheDiscordian opened 4 years ago

TheDiscordian commented 4 years ago

I think the Protocol interface should support ping tags by default to make forming and parsing responses easier. I think methods could look like these:

Instead of GetPingTags, maybe messages should just have a method for dumping post-pingtag processing? Or both? Or maybe just go right to the extreme and replace text dumping with a result akin to GetPingTags? So many options : /.

MakePingTag would be extremely useful.

TheDiscordian commented 4 years ago

Investigate how the discordgo plugin does this.

TheDiscordian commented 1 year ago

Bluesky is quite elegant with how they handle pings (slice of ranges), we could more-or-less adopt their standard.