Share info about your Bot in an embed message with a prefix command. Edit the title, description, and fields section as you like.
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
if (context.params.event.content.startsWith(`${process.env.PREFIX}botinfo`))
await lib.discord.channels['@0.1.2'].messages.create({
channel_id: `${context.params.event.channel_id}`,
content: '',
tts: false,
embeds: [
{
type: 'rich',
title: `Bot Info `,
description: `Description general of my bot!`,
color: 0x00ff80,
fields: [
{
name: `Owner`,
value: `Kelsoji`,
inline: true,
},
{
name: `Created`,
value: `🕒July 2021`,
inline: true,
},
{
name: `Features`,
value: `#1 Feature 1 - Moderation Commands`,
inline: true,
},
{
name: `Features`,
value: `#1 Feature 1 - Reaction Commands`,
inline: true,
},
],
},
],
});