1.1.0 • Published 6 years ago
nightbotpsmodule v1.1.0
nightbotpsmodule: A module using Jimp for my Discord Bot!
nightbotpsmodule is a module created for my Discord bot, Nightbot. I created it because i thinked "OMG!11!11 my code is SOO horrible", so I has using functions, but, after host my bot, i thinked "Well, is better create a npm module, so everyone will use it and me too!", and now, I created it, and yay!
Nightbot and nightbotpsmodule is under MIT license.
Hand Command
// Calling nightbotpsmodule as psModule.
const psModule = require("nightbotpsmodule");
// Now, let's create the file with our hand meme!
// But, let's define our file name and path.
const path = "./your/path/yourImageName.jpg";
// Now, let's define our text
const text = " I love you";
psModule.handCmd(path, text);
//And, yo! If everything work, you will see a new file on the path that you used!
I :heart: you