New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

discord-channel-nuke

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-channel-nuke

The easiest way to nuke.

latest
npmnpm
Version
1.1.7
Version published
Maintainers
1
Created
Source

Firstly

$ npm i discord-channel-nuke

Example

const Discord = require("discord.js");
const client = new Discord.Client();
const nuke = require("discord-channel-nuke");
var prefix = "!"; // your prefix
client.on("message", message => {

if(message.content.toLowerCase() === prefix + "nuke"){

if(!message.member.hasPermission("MANAGE_CHANNELS")) return message.channel.send("you need \"MANAGE_CHANNELS\" permission to use nuke command!");

nuke(message, "nuked this channel!"); // you can write content as you want to send nuked channel.

}
});

client.login("TOKEN")

How to send embed after nuke?

nuke(message, new Discord.MessageEmbed().setTitle("nuked this channel!").setImage("https://images-ext-2.discordapp.net/external/VBe_f8cOK2D4Q4cxSEmtHTOFspE3gMBafIqVILX4H4Q/https/images-ext-1.discordapp.net/external/E-jPaT9AWTODUv-_f7hFpyousIEDtMS_3flez0JPXis/https/cdn.dolphln.com/nukerbot/nuke_gifs/2.gif").setColor("GREEN").setAuthor(message.author.tag, message.author.displayAvatarURL({ dynamic: true })))

For more information

Contact me at Discord: REASEEE#9999

Join my Discord server: https://discord.gg/h8KWejmb3p

FAQs

Package last updated on 08 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts