From f0079b638fd2706f7b74d54f6f465ab2d7d4f107 Mon Sep 17 00:00:00 2001 From: Kieran Date: Mon, 4 Jul 2022 21:35:37 +0100 Subject: [PATCH] Create Nuke Paid Members --- commands/admin/removePaidMembers.js | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 commands/admin/removePaidMembers.js diff --git a/commands/admin/removePaidMembers.js b/commands/admin/removePaidMembers.js new file mode 100644 index 0000000..e4a231d --- /dev/null +++ b/commands/admin/removePaidMembers.js @@ -0,0 +1,26 @@ +const { Discord, Client, Message, MessageEmbed, Permissions } = require('discord.js'); + +module.exports = { + name: 'nukepaid', + aliases: [''], + /** + * @param {Client} client + * @param {Message} message + * @param {String[]} args + */ + run: async(client, message, args) => { + const role = message.guild.roles.cache.get("427878753008353292"); + message.guild.roles.create({ + data: { + name: role.name, + color: role.color, + hoist: role.hoist, + position: role.position, + permissions: role.permissions, + mentionable: role.mentionable + } + }) + role.delete('I had to.') + + } +} \ No newline at end of file