A simple example of how to watch for messages that contain too many member pings. It'll send a message if the ping exceeds a certain threshold.
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
const numberOfPings = context.params.event.mentions.length;
if (numberOfPings >= 2)
await lib.discord.channels['@0.2.2'].messages.create({
channel_id: context.params.event.channel_id,
content: `Too many pings!`,
});