delta-client-api

0.2.5 • Public • Published

Hi

This is a simple package that displays some gifs and phrases for Discord.

This API currently has images of:

kiss // gif
slap // gif
hug // gif
kill // gif
dance // gif
attack // gif
randomavatar // image

Texts of:

philosophy // Nothing philosophical phrases, in PT-BR.

And canvas of:

circle // Crop an image in a circle shape.
invert // Invert the colors of an image.
greyscale // Replaces the colors in an image with a greyscale.

Example of use:

const DeltaClient = require('delta-client-api');

console.log(DeltaClient.images.dance())
// https://i.imgur.com/imageID.gif

console.log(DeltaClient.texts.philosophy())
// "Penso, logo desisto."

message.channel.send(DeltaClient.canvas.circle('image'))
// <returns a png image>

Package Sidebar

Install

npm i delta-client-api

Homepage

none

Weekly Downloads

1

Version

0.2.5

License

ISC

Unpacked Size

10.8 kB

Total Files

9

Last publish

Collaborators

  • henri_lima