this command pokes a user in your discord server you can even poke your self all you have to do is type !poke
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
const axios = require('axios');
const {data} = await axios('https://nekos.best/api/v2/poke');
console.log(data);
const author = context.params.event.mentions.length
? context.params.event.mentions[0]
: context.params.event.author;
await lib.discord.channels['@0.1.2'].messages.create({
channel_id: context.params.event.channel_id,
content: author.id === context.params.event.author.id
? `<@${author.id}> poked themselves because they are lonely :C`
: `<@${context.params.event.author.id}> poked <@${author.id}>`,
embed: {
title: ' poking people 😐 ',
image: {url: data.results[0].url},
color: 0xffc0cb,
},
});