nyx/commands/Owner/rmv.js

16 lines
511 B
JavaScript
Raw Normal View History

2021-06-12 12:53:51 +02:00
const { Client, Message, MessageEmbed } = require("discord.js");
module.exports = {
name: "rmv",
category: "Owner",
usage: "(Number)",
description: "Remove coins from someone",
Owner: true,
run: async (client, message, args) => {
if (!args[0] || isNaN(args[0]))
return message.channel.send("Number of coins?");
const user = message.mentions.members.first() || message.author;
2021-07-13 05:17:39 +02:00
await client.rmv(user.id, parseInt(args[0]));
2021-06-12 12:53:51 +02:00
message.react("<a:a_yes:808683134786863124>");
},
};