21 lines
913 B
JavaScript
21 lines
913 B
JavaScript
const { EmbedBuilder } = require('discord.js');
|
|
let cpu = require('cpu-load')
|
|
|
|
module.exports = {
|
|
name: "about",
|
|
description: "Info about the bot",
|
|
|
|
run: async (client, interaction) => {
|
|
cpu(1000, function (load) {
|
|
|
|
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.\n\nSpecs: Intel i7-1065G7 (8) @ 3.900GHz with 11 GB of RAM\nChat is set to 7 Threads\nConfigured Memory Speed: 3733 MT/s\nUSB Liveboot\n\nSingle Task Only - 256 Max Token Output`)
|
|
.setTimestamp()
|
|
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` });
|
|
interaction.followUp({ embeds: [embed] });
|
|
})
|
|
|
|
},
|
|
}; |