1.0.2 • Published 3 years ago

@stuntstorm/op-commands v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

StuntStorm's Easy to use Op Commands NPM

Op Commands for Administrators to maintain and protect the server from hackers and raiders

@stuntstormmath (2)

Installation ⚒️

npm i @stuntstorm/op-commands --save

Usage

Require with any Variable

const package = require("@stuntstorm/op-commands")

Over-Powered Commands 🐱‍🏍

NUKE COMMAND :

Use this if the raiders or anyone has leaked your private info/ or just want to clear the chat

Nukes the Channel (Removes all the Chats in that channel and replaces with clear Channel)

package.nuke(message,client,args);

LOCKDOWN COMMAND :

Use this if you think theres possible attack from raiders or hackers

Locks down the entire server with a simple command and once the threat is handled unlock the server at your wish

package.lockdown(message,client,args)

OP-BAN COMMAND :

Use this if you get info that certain user id is a hacker or raider

Use this command to op-ban someone who isnt in your server. Remove Raiders/Hackers and keep your server protected!

package.opban(message,client,args)

Setup 🛠️

Setting Up Nuke Command

const package = require("@stuntstorm/op-commands")
const Discord = require('discord.js');
const client = new Discord.Client();

client.on("message", message => {
  if(message.content == "!nuke") {
    package.nuke(message,client,args);
  }
});

client.login("token");

Setting Up Lockdown Command

const package = require("@stuntstorm/op-commands")
const Discord = require('discord.js');
const client = new Discord.Client();

client.on("message", message => {
  if(message.content == "!lockdown") {
    package.lockdown(message,client,args);
  }
});

client.login("token");

Setting Up Op-Ban Command

const package = require("@stuntstorm/op-commands")
const Discord = require('discord.js');
const client = new Discord.Client();

client.on("message", message => {
  if(message.content == "!opban") {
    package.opban(message,client,args);
  }
});

client.login("token");

Example Scenerio 💻

Index.js Code :

image

Discord Output :

image

Ban Logs Output :

image

Support 🐱‍💻

Feel free to join the support server : https://discord.gg/u6XzUFkKTn

StuntStorm's Github : https://github.com/StuntStorm

More NPM Packages : https://www.npmjs.com/~stuntstorm

NOTE 🗃️

This package is protected under MIT license. 🔒

Bots using this Project 👾

StuntStorm Discord bot by StuntStorm#7231

Created and Published by StuntStorm

1.0.2

3 years ago

1.0.1

3 years ago