2023-03-25 13:09:44 -04:00
|
|
|
const { EmbedBuilder } = require('discord.js');
|
2023-03-25 19:53:42 -04:00
|
|
|
|
2023-03-25 13:51:29 -04:00
|
|
|
module.exports = {
|
2023-03-25 19:53:42 -04:00
|
|
|
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] });
|
|
|
|
},
|
|
|
|
};
|