1.0.9 • Published 3 years ago

@stuntstorm/basic-setup v1.0.9

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

StuntStorm's Easy to use Basic Setup NPM

Basic Setup commands for discord bot. A Few Handful commands created for a youtube video

@stuntstormmath (3)

Installation ⚒️

npm i @stuntstorm/basic-setup --save

Usage

Require with any Variable

const package = require("@stuntstorm/basic-setup")

Featured Commands 🐱‍🏍

PING COMMAND :

Use this to check the Ping Rate

package.ping(message);

TICKET COMMAND :

Use this to create private ticket with staff members (any user can access this command)

package.ticket(message)

BAN LIST COMMAND :

Use this command to view all the Banned Users from your server

package.banlist(message)

EMOJI LIST COMMAND :

Use this command to view all the Emojis from your server

package.emojilist(message)

RECORDING COMMAND :

Use this command to push the chat upwards and make avoid messages being recorded

package.recording(message)

Setup 🛠️

Setting Up Ping Command

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

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

client.login("token");

Setting Up Ticket Command

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

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

client.login("token");

Setting Up Ban List Command

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

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

client.login("token");

Setting Up Emoji List Command

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

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

client.login("token");

Setting Up Recording Command

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

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

client.login("token");

Example Scenerio 💻

Index.js Code :

image

Discord 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

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.0

3 years ago