Rick roll people in your server with this simple /rickroll command that sends an unsuspecting GIF in chat - you will need to set up a /rickroll command for this to work
// connects you with the standard library API (stdlib.com)
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
await lib.discord.channels['@0.2.1'].messages.create({ // sends the rickroll
channel_id: `${context.params.event.channel_id}`,
content: '',
tts: false,
embeds: [
{
type: 'rich',
title: `Hello ๐`,
description: '',
color: 0x0d6efd,
image: {
url: `https://c.tenor.com/m66iN0md0IcAAAAM/rick-roll.gif`,
},
},
],
});