rai-serge-discord-bot/commands/info/about.js
2023-03-26 02:03:15 +02:00

41 lines
1.0 KiB
JavaScript

const { EmbedBuilder } = require('discord.js');
module.exports = {
name: "about",
description: "Info about the bot",
run: async (client, interaction) => {
const specsFields = [
{
name: "Processor",
value: "Intel i7-1065G7 (8) @ 3.900GHz"
},
{
name: "Memory",
value: "11 GB RAM"
},
{
name: "Chat Threads",
value: "7"
},
{
name: "Memory Speed",
value: "3733 MT/s"
},
{
name: "Other",
value: "USB Liveboot\nSingle Task Only - 256 Max Token Output"
}
];
const embed = new EmbedBuilder()
.setColor("#FF0000")
.setTitle("About rAI")
.setDescription(`Latency : ${client.ws.ping}ms\n\nrAI is a bot managed by \`snxraven#8205\` running an LLM called Alpaca.`)
.addFields(specsFields)
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` });
interaction.followUp({ embeds: [embed] });
},
};