Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

caxinha

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

caxinha

A npm of image manipulation, gif catcher and functions

  • 0.2.62
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

caxinha npm npm

Installation

NPM

Canvas

FunctionParams
triggered()image
affect()image
batslap()image image2
beautiful()image
blur()image level (optional)
bnw()image
bolsonaro()image
brightness()image amount
circle()image
color()color (optional)
colorfy()image color
comunism()image
createQrCode()text options = { background: 'hexColor', color: 'hexColor' } (optional)
darkness()image amount
del()image
dither()image
facepalm()image
fuse()image image2
gay()image
invert()image
jail()image
kiss()image image2
magik()image
pixelate()image
replaceColor()image r g b
rip()image
rotate()image angle (optional)
sepia()image
stickbug()image
spank()image image2
trash()image
threshold()image amount (optional)
wanted()image
wasted()image

Gif

Functions
cuddle() feed() hug() kiss() pat() poke() slap() tickle()

Misc

FunctionParamsDescription
choose()choicesFaz uma decisão por você.
pagination()type message pages emojiList timeoutCria embeds com páginas.
formatSizeUnits()bytesFormata bytes para Yottabytes, Zettabytes, Exabytes, Petabytes, Terabytes, Gigabytes, Megabytes, Kilobytes, e Bytes.
getRandomInt()min maxEscolhe um número de acordo com o número mínimo e o máximo.
randomCharacters()lengthCria um texto com caracteres aleatórios.
randomHex()noneRetorna um código hexadecimal aleatório.
removeAcents()textRemove acentos de um texto.
shorten()text lengthReduz o comprimento de um texto.
uptime()messageMostra o uptime da sua aplicação.

Canvas Examples

Triggered Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!triggered") {
    let image = await Caxinha.canvas.triggered(message.author.displayAvatarURL({ dynamic: false, format: 'png' }));

    let attachment = new Discord.MessageAttachment(image, "triggered.gif");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Affect Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!affect") {
    let image = await Caxinha.canvas.affect(message.author.displayAvatarURL({ dynamic: false, format: 'png' }));

    let attachment = new Discord.MessageAttachment(image, "affect.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Batslap Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!batslap") {
    
    let member = message.mentions.users.first()

    if(!member) return message.channel.send("Mencione alguém")

    let image = message.author.displayAvatarURL({ dynamic: false, format: 'png' })

    let image2 = member.displayAvatarURL({ dynamic: false, format: 'png' })

    let attach = await Caxinha.canvas.batslap(image, image2);

    let attachment = new Discord.MessageAttachment(attach, "batslap.png");

    return message.channel.send(attachment);
}
})


client.login("Your_Bot_Token_here");

image

Beautiful Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!beautiful") {
    let image = await Caxinha.canvas.beautiful(message.author.displayAvatarURL({ dynamic: false, format: 'png' }));

    let attachment = new Discord.MessageAttachment(image, "beautiful.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Blur Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!blur") {
    let image = await Caxinha.canvas.blur(message.author.displayAvatarURL({ dynamic: false, format: 'png' }), 2);

    let attachment = new Discord.MessageAttachment(image, "blur.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Bnw Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!bnw") {
    let image = await Caxinha.canvas.bnw(message.author.displayAvatarURL({ dynamic: false, format: 'png' }));

    let attachment = new Discord.MessageAttachment(image, "bnw.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Bolsonaro Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!bolsonaro") {
    let image = await Caxinha.canvas.bolsonaro(message.author.displayAvatarURL({ dynamic: false, format: 'png' }));

    let attachment = new Discord.MessageAttachment(image, "bolsonaro.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Brightness Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!brightness") {
    let amount = 100
    let image = await Caxinha.canvas.brightness(message.author.displayAvatarURL({ dynamic: false, format: 'png' }), amount);

    let attachment = new Discord.MessageAttachment(image, "brightness.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Circle Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!circle") {
    let image = await Caxinha.canvas.circle(message.author.displayAvatarURL({ dynamic: false, format: 'png' }));

    let attachment = new Discord.MessageAttachment(image, "circle.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Color Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!color") {
    let color = "#8572da";

    let image = await Caxinha.canvas.color(color);

    let attachment = new Discord.MessageAttachment(image, "color.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Colorfy Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!colorfy") {
    let image = message.author.displayAvatarURL({ dynamic: false, format: 'png' })
    
    let color = "#8572da";

    let image = await Caxinha.canvas.colorfy(image, color);

    let attachment = new Discord.MessageAttachment(image, "colorfy.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Comunism Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!comunism") {
    let image = await Caxinha.canvas.comunism(message.author.displayAvatarURL({ dynamic: false, format: 'png' }));

    let attachment = new Discord.MessageAttachment(image, "comunism.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

createQrCode Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!createqrcode") {
    let text = 'www.youtube.com/watch?v=dQw4w9WgXcQ'
    
    let image = await Caxinha.canvas.createQrCode(text);

    let attachment = new Discord.MessageAttachment(image, "createqrcode.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Darkness Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!darkness") {
    let amount = 100
    let image = await Caxinha.canvas.darkness(message.author.displayAvatarURL({ dynamic: false, format: 'png' }), amount);

    let attachment = new Discord.MessageAttachment(image, "darkness.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Del Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!del") {
    let image = await Caxinha.canvas.del(message.author.displayAvatarURL({ dynamic: false, format: 'png' }));

    let attachment = new Discord.MessageAttachment(image, "del.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Dither Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!dither") {
    let image = await Caxinha.canvas.dither(message.author.displayAvatarURL({ dynamic: false, format: 'png' }));

    let attachment = new Discord.MessageAttachment(image, "dither.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Facepalm Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!facepalm") {
    let image = await Caxinha.canvas.facepalm(message.author.displayAvatarURL({ dynamic: false, format: 'png' }));

    let attachment = new Discord.MessageAttachment(image, "facepalm.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Fuse Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!fuse") {
    
    let member = message.mentions.users.first()

    if(!member) return message.channel.send("Mencione alguém")

    let image = message.author.displayAvatarURL({ dynamic: false, format: 'png' })

    let image2 = member.displayAvatarURL({ dynamic: false, format: 'png' })

    let attach = await Caxinha.canvas.fuse(image, image2);

    let attachment = new Discord.MessageAttachment(attach, "fuse.png");

    return message.channel.send(attachment);
}
})

client.login("Your_Bot_Token_here");

image

Gay Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!gay") {
    let image = await Caxinha.canvas.gay(message.author.displayAvatarURL({ dynamic: false, format: 'png' }));

    let attachment = new Discord.MessageAttachment(image, "gay.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Invert Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!invert") {
    let image = await Caxinha.canvas.invert(message.author.displayAvatarURL({ dynamic: false, format: 'png' }));

    let attachment = new Discord.MessageAttachment(image, "invert.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Jail Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!jail") {
    let image = await Caxinha.canvas.jail(message.author.displayAvatarURL({ dynamic: false, format: 'png' }));

    let attachment = new Discord.MessageAttachment(image, "jail.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Kiss Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!kiss") {
    
    let member = message.mentions.users.first()

    if(!member) return message.channel.send("Mencione alguém")

    let image = message.author.displayAvatarURL({ dynamic: false, format: 'png' })

    let image2 = member.displayAvatarURL({ dynamic: false, format: 'png' })

    let attach = await Caxinha.canvas.kiss(image, image2);

    let attachment = new Discord.MessageAttachment(attach, "kiss.png");

    return message.channel.send(attachment);
}
})

client.login("Your_Bot_Token_here");

image

Magik Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!magik") {
    let image = await Caxinha.canvas.magik(message.author.displayAvatarURL({ dynamic: false, format: 'png' }));

    let attachment = new Discord.MessageAttachment(image, "magik.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Pixelate Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!pixelate") {
    let image = await Caxinha.canvas.pixelate(message.author.displayAvatarURL({ dynamic: false, format: 'png' }));

    let attachment = new Discord.MessageAttachment(image, "pixelate.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

ReplaceColor Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!replaceColor") {
    let r = "1";
    let g = "100";
    let b = "200";

    let image = await Caxinha.canvas.replaceColor(message.author.displayAvatarURL({ dynamic: false, format: 'png' }), r, g,b);

    let attachment = new Discord.MessageAttachment(image, "replaceColor.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Rip Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!rip") {
    let image = await Caxinha.canvas.rip(message.author.displayAvatarURL({ dynamic: false, format: 'png' }));

    let attachment = new Discord.MessageAttachment(image, "rip.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Rotate Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!rotate") {
    let angle = 10

    let image = await Caxinha.canvas.rotate(message.author.displayAvatarURL({ dynamic: false, format: 'png' }), angle);

    let attachment = new Discord.MessageAttachment(image, "rotate.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Sepia Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!sepia") {
    let image = await Caxinha.canvas.sepia(message.author.displayAvatarURL({ dynamic: false, format: 'png' }));

    let attachment = new Discord.MessageAttachment(image, "sepia.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Stickbug Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!stickbug") {
    let image = await Caxinha.canvas.stickbug(message.author.displayAvatarURL({ dynamic: false, format: 'png' }));

    let attachment = new Discord.MessageAttachment(image, "stickbug.mp4");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Spank Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!spank") {
    
    let member = message.mentions.users.first()

    if(!member) return message.channel.send("Mencione alguém")

    let image = message.author.displayAvatarURL({ dynamic: false, format: 'png' })

    let image2 = member.displayAvatarURL({ dynamic: false, format: 'png' })

    let attach = await Caxinha.canvas.spank(image, image2);

    let attachment = new Discord.MessageAttachment(attach, "spank.png");

    return message.channel.send(attachment);
}
})

client.login("Your_Bot_Token_here");

image

Trash Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!trash") {
    let image = await Caxinha.canvas.trash(message.author.displayAvatarURL({ dynamic: false, format: 'png' }));

    let attachment = new Discord.MessageAttachment(image, "trash.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Threshold Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!threshold") {
    let image = await Caxinha.canvas.threshold(message.author.displayAvatarURL({ dynamic: false, format: 'png' }));

    let attachment = new Discord.MessageAttachment(image, "threshold.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Wanted Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!wanted") {
    let image = await Caxinha.canvas.wanted(message.author.displayAvatarURL({ dynamic: false, format: 'png' }));

    let attachment = new Discord.MessageAttachment(image, "wanted.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Wasted Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!wasted") {
    let image = await Caxinha.canvas.wasted(message.author.displayAvatarURL({ dynamic: false, format: 'png' }));

    let attachment = new Discord.MessageAttachment(image, "wasted.png");

    return message.channel.send(attachment);
}
})
 
client.login("Your_Bot_Token_here");

image

Gif Examples

Cuddle Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!cuddle") {
    let image = await Caxinha.gif.cuddle();

    return message.channel.send(image);
}
})
 
client.login("Your_Bot_Token_here");

image

Feed Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!feed") {
    let image = await Caxinha.gif.feed();

    return message.channel.send(image);
}
})
 
client.login("Your_Bot_Token_here");

image

Hug Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!hug") {
    let image = await Caxinha.gif.hug();

    return message.channel.send(image);
}
})
 
client.login("Your_Bot_Token_here");

image

Kiss Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!kiss") {
    let image = await Caxinha.gif.kiss();

    return message.channel.send(image);
}
})
 
client.login("Your_Bot_Token_here");

image

Pat Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!pat") {
    let image = await Caxinha.gif.pat();

    return message.channel.send(image);
}
})
 
client.login("Your_Bot_Token_here");

image

Poke Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!poke") {
    let image = await Caxinha.gif.poke();

    return message.channel.send(image);
}
})
 
client.login("Your_Bot_Token_here");

image

Slap Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!slap") {
    let image = await Caxinha.gif.slap();

    return message.channel.send(image);
}
})
 
client.login("Your_Bot_Token_here");

image

Tickle Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!tickle") {
    let image = await Caxinha.gif.tickle();

    return message.channel.send(image);
}
})
 
client.login("Your_Bot_Token_here");

image

Misc Examples

Choose Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!choose") {
    
    let choices = 'Caxinha, Loritta'

    let choose = Caxinha.choose(choices)

    console.log(choose)
}
})

image

Pagination Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!pagination") {
    const embed = new Discord.MessageEmbed()
    .setTitle('Title')
    .setDescription('Description')

    const embed2 = new Discord.MessageEmbed()
    .setTitle('Title 2')
    .setDescription('Description 2')

    const embed3 = new Discord.MessageEmbed()
    .setTitle('Title 3')
    .setDescription('Description 3')
        
    const type = 'guild' // 'dm'

    const pages = [ embed, embed2, embed3 ]

    const emojiList = ["⏪", "⏩"];

    const timeout = '120000';

    Caxinha.pagination(type, message, pages, emojiList, timeout)
}
})
 
client.login("Your_Bot_Token_here");

image

FormatSizeUnits Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!format") {
    let format = Caxinha.formatSizeUnits(1000000000) // 1 GB

    console.log(format)
}
})
 
client.login("Your_Bot_Token_here");

image

getRandomInt Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!getRandomInt") {

    let min = 1
    let max = 10 
    let result = Caxinha.getRandomInt(min, max)

    console.log(result)
}
})
 
client.login("Your_Bot_Token_here");

image

RemoveAcents Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!removeacents") {
    let text = "ã ê î ò û ń ž ş đ ģ ķ ł ý ț ř ç";

    let removedAcents = Caxinha.removeAcents(text)

    console.log(removedAcents)
}
})
 
client.login("Your_Bot_Token_here");

image

Shorten Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!shorten") {

    let text = 'A npm caxinha é a melhor npm de manipulção de imagem de todas!';
    let length = '25';

    let removedAcents = Caxinha.shorten(text, length)

    console.log(removedAcents)
}
})
 
client.login("Your_Bot_Token_here");

image

RandomCharacters Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!randomCharacters") {
    let length = 5;

    let random = Caxinha.randomCharacters(length)

    console.log(random)
}
})
 
client.login("Your_Bot_Token_here");

image

RandomHex Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!randomHex") {

    let randomHex = Caxinha.randomHex()

    console.log(randomHex)
}
})
 
client.login("Your_Bot_Token_here");

image

Uptime Example

const Discord = require("discord.js");
const client = new Discord.Client();
const Caxinha = require("caxinha");

client.on("message", async (message) => {
  if (message.content === "!uptime") {

    let uptime = Caxinha.uptime(message)

    console.log(uptime)
}
})
 
client.login("Your_Bot_Token_here");

image

Keywords

FAQs

Package last updated on 24 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc