brizzy-dv

1.8.1 • Public • Published

Helloworld :

const { helloworld } = require('brizzy-dv'); //We define the npm

helloworld(); //With this we make it say a text in the console

//All of this should go in your main file and be sure to put everything in order to avoid mistakes!

Date :

const { date } = require('brizzy-dv'); //We define the npm

date(); //With this we make it say the date in the console

//All of this should go in your main file and be sure to put everything in order to avoid mistakes!

chatBot :

const { chatBot } = require('brizzy-dv'); //We define the npm

if(!args[0]) return message.reply("Write a text"); //This means that if you do not write anything, it returns to the text that you want, in my case I put that

chatBot(message, args[0]); //This takes the typed message and returns a response

//Everything above would go in your command but remember to define chatBot at the top

Hi :

let { hi } = require("brizzy-dv"); //We define the npm

let greetings = hi(); //With this we define the 'hi' function to use it below

message.reply(greetings); //With this we make that when using the command your bot returns a predetermined response

//All of the above must go in your command and remember to define the npm at the top

Package Sidebar

Install

npm i brizzy-dv

Weekly Downloads

0

Version

1.8.1

License

ISC

Unpacked Size

2.87 kB

Total Files

4

Last publish

Collaborators

  • brizzy-dv