A simple code to alert if the link is an IP Grabber
// authenticates you with the API standard library
// type `await lib.` to display API autocomplete
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
if(context.params.event.content.match(/2no.co|iplogger.com|iplogger.ru|yip.su|iplogger.co|iplogger.info|ipgrabber.ru|ipgraber.ru|iplis.ru|02ip.ru|ezstat.ru/i)) {
await lib.discord.channels['@0.2.0'].messages.create({
channel_id: context.params.event.channel_id,
content: '**[WARNING!]** This URL might be an IP grabber',
message_reference: {
message_id: context.params.event.id
}
});
}