commandhat / cmdRobloxModules

A repository of Roblox modules I've created for the public to use.
1 stars 0 forks source link

Breaking Change: Guilded-Api-Use-Official-Markdown #1

Closed commandhat closed 11 hours ago

commandhat commented 4 months ago

This is an emergency push to allow GuildedRadio to connect to guilds again.

Some details are in the announcement, but essentially this change requires your script to be able to parse Markdown.

affected: guildedRadio.readMessages, guildedRadio.readMessagesBulk -- the message portion of the table will now always be a single string instead of being broken up by portions of text that indicate markdown script

The version of GuildedRadio currently public is actually six months old; I am creating a new version that is essentially a total rewrite with more methods and more support for Guilded's API as it currently is. I do not intend to release this version until it is finished, but this emergency push should be enough to get GuildedRadio talking to your guilds again.

commandhat commented 4 months ago

0.2.4 adds a header that tells Guilded we are compatible with Markdown support. In the future, there may be other ways to indicate whether your bot supports this, but for now, expect your scripts to start receiving Markdown tokens such as **text**.

If you are doing due diligence, then roblox's implemention of Sift should actually handle this for you, as special symbols like _, *, \ and so on are stripped out of a message to check for filtered words -- but if there are no filtered words then the returned message will still contain said symbols.