Redesign about
This commit is contained in:
parent
5ea2e73942
commit
2e67286825
@ -1,14 +1,40 @@
|
|||||||
const { EmbedBuilder } = require('discord.js');
|
const { EmbedBuilder } = require('discord.js');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: "about",
|
name: "about",
|
||||||
description: "Info about the bot",
|
description: "Info about the bot",
|
||||||
run: async (client, interaction) => {
|
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()
|
const embed = new EmbedBuilder()
|
||||||
.setColor("#FF0000")
|
.setColor("#FF0000")
|
||||||
.setTitle("About rAI")
|
.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`)
|
.setDescription(`Latency : ${client.ws.ping}ms\n\nrAI is a bot managed by \`snxraven#8205\` running an LLM called Alpaca.`)
|
||||||
|
.addFields(specsFields)
|
||||||
.setTimestamp()
|
.setTimestamp()
|
||||||
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` });
|
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` });
|
||||||
|
|
||||||
interaction.followUp({ embeds: [embed] });
|
interaction.followUp({ embeds: [embed] });
|
||||||
},
|
},
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user