dotty-js
v1.0.0
Published
dotty-js ========== Beginning OF DOTTY-JS @28.9.2022
Downloads
5
Readme
dotty-js
Beginning OF DOTTY-JS @28.9.2022
Install
Install for local use as a module
npm install dotty-js
Usage
module
const dot = require('dotty-js');
Example
const dot = require('dotty-js');
//random number
dot.randomNumber(1,10)
//random array
let arrayName = [1,2,3,4,5,6,7,8,9,10]
dot.randomArray(arrayName)
//shuffle array
dot.shuffleArray(arrayname)
// uppercase and lowercase
let string = "My Name Is DOT"
dot.lower(string) // lowercase
dot.upper(string) // uppercase
Example
/*
Get 99% Accurate answers for dankmemer trivia
discordjs @v13
dotty.js
*/
const dot = require("dotty-js")
client.on("messageCreate", async message => {
dot.hacktrivia(message,{
title:"Your Title",
color:"#FF0000"
})})
Created with </3 Dot