nyx

The first CODM discrod bot -- cath.exe Template
git clone https://codeberg.org/night0721/nyx
Log | Files | Refs | LICENSE

commit 753b3f0fd315b5397759fed80b2e75453d0e0b0f
parent a9d1bbc1e305832ea545f101d11df5f320c90f1f
Author: NK <[email protected]>
Date:   Fri, 31 Mar 2023 14:15:23 +0100

remove redutant code

Diffstat:
Dcommand/Utilities/simprate.js | 33---------------------------------
1 file changed, 0 insertions(+), 33 deletions(-)

diff --git a/command/Utilities/simprate.js b/command/Utilities/simprate.js @@ -1,33 +0,0 @@ -const { EmbedBuilder } = require("discord.js"); - -module.exports = { - name: "simprate", - description: "Check how simp is the user", - usage: "(@User)", - category: "Fun", - options: [ - { - type: 6, - name: "user", - description: "The user you want to see", - required: true, - }, - ], - run: async (client, interaction, args) => { - const simp = Math.floor(Math.random() * 100); - const user = interaction.guild.members.cache.get(args[0]); - interaction.followUp({ - embeds: [ - new EmbedBuilder() - .setTitle(`${user.user.username}'s simp rate`) - .setDescription(`${user.user.username} is a ${simp}% simp`) - .setColor(client.color) - .setFooter({ - text: `Made by ${client.author}`, - iconURL: client.user.displayAvatarURL(), - }) - .setTimestamp(), - ], - }); - }, -};