nyx/commands/Owner/premium.js

18 lines
544 B
JavaScript
Raw Normal View History

2021-06-12 12:53:51 +02:00
const { Client, Message, MessageEmbed } = require("discord.js");
module.exports = {
name: "setpremium",
category: "Owner",
usage: "(User) (Toggle) (Tier)",
description: "Set someone into Premium with tiers",
Owner: true,
run: async (client, message, args) => {
const member =
message.mentions.members.first() ||
message.guild.members.cache.get(args[0]);
client.data.Premium(member.id, "true", args[1]);
2021-09-06 12:38:25 +02:00
message.reply(
2021-06-12 12:53:51 +02:00
`**${member.user.username}**'s premium status:\nTier **${args[1]}**`
);
},
};