Discord automatically creates embeds, i.e., small previews, if there are links in a message. If you dont want that, use the following code to update for example all messages created
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
return lib.discord.channels['@0.3.2'].messages.update({
channel_id: context.params.event.channel_id,
message_id: context.params.event.id,
flags: 1 << 2 // SUPPRESS_EMBEDS
});