rai-serge-discord-bot/commands/info/about.js

45 lines
1.2 KiB
JavaScript
Raw Normal View History

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",
2023-04-08 14:42:55 -04:00
value: "AMD Ryzen 7 1700X (16) @ 3.950GHz"
2023-03-25 19:53:42 -04:00
},
{
name: "Memory",
2023-04-08 14:42:55 -04:00
value: "32 GB RAM"
2023-03-25 19:53:42 -04:00
},
{
name: "Chat Threads",
2023-04-08 14:42:55 -04:00
value: "8"
2023-03-25 19:53:42 -04:00
},
{
name: "Memory Speed",
2023-04-08 14:42:55 -04:00
value: "2933 MT/s"
},
{
name: "Video Card",
value: "AMD ATI Radeon R9 290 (no ROCm support)"
2023-03-25 19:53:42 -04:00
},
{
name: "Other",
2023-04-08 14:42:55 -04:00
value: "Xubuntu 22.04\nSingle Task Only - 256 Max Token Output"
2023-03-25 19:53:42 -04:00
}
];
const embed = new EmbedBuilder()
.setColor("#FF0000")
.setTitle("About rAI")
2023-04-08 14:42:55 -04:00
.setDescription(`Latency : ${client.ws.ping}ms\n\nrAI is a bot managed by \`MrTuxedo#0765\` \nRunning GPT4ALL and LLama 7B/7B-native.`)
2023-03-25 19:53:42 -04:00
.addFields(specsFields)
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` });
interaction.followUp({ embeds: [embed] });
},
};