This prefix command is an example of how to send a message in reply to another message without pinging the original user.
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
if (context.params.event.content.startsWith('!nopingtest')) {
await lib.discord.channels['@0.1.1'].messages.create({
channel_id: context.params.event.channel_id,
content: `This is a reply that doesn't ping!`,
allowed_mentions: { // "allowed_mentions" with this parameter prevents a ping
replied_user: false
},
message_reference: {
message_id: context.params.event.id
}
});
}