@stuntstorm/basic-setup
v1.0.9
Published
Basic Setup commands for discord bot. A Few Handful commands created for a youtube video
Downloads
11
Readme
StuntStorm's Easy to use Basic Setup NPM
Basic Setup commands for discord bot. A Few Handful commands created for a youtube video
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 :
Discord Output :
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. 🔒