Package Exports
- fietu
- fietu/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (fietu) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
FIETU
libreria del fachero del fietulais
INSTALACION
$ npm i fietu| Fietu | |
|---|---|
| randomString | Genera un string aleatorio |
| Filtro whatsapp | |
| rainbow | Filtro rainbow |
| blur | Efecto borroso |
| love | Love |
| tweet | tweet |
EJEMPLOS
randomString
const fietu = require("fietu")
const random = fietu.randomString(6)
console.log(random)Preview
6cGQ|Hconst fietu = require("fietu")
const blur = await fietu.whatsapp("https://cdn.discordapp.com/avatars/780876656352559125/c89c766ef2e00991c45a661845402e17.png?size=1024")Preview

TWEET
const discord = require("discord.js")
const { Client, Intents, Collection } = require ('discord.js')
const client = new Client({ intents: 32767 })
const fietu = require("fietu")
client.on("messageCreate", async (message) => {
if (message.author.bot) return;
if (message.content === "!tweet") {
const tweet = await new fietu.tweet()
.setAvatar(message.author.displayAvatarURL({ format: 'jpg' }))
.setName(message.author.username)
.setText("HOLAAAAA")
.tweet()
const attachment = new discord.MessageAttachment(tweet, 'tweet.png');
return message.reply({ files: [attachment] });
}
}
client.login("bot_token");PREVIEW

LOVE
const discord = require("discord.js")
const { Client, Intents, Collection } = require ('discord.js')
const client = new Client({ intents: 32767 })
const fietu = require("fietu")
client.on("messageCreate", async (message) => {
if (message.author.bot) return;
if (message.content === "!love") {
const user = message.mentions.members.first()
const love = await new fietu.love()
.setAvatarOne(message.author.displayAvatarURL({ format: "png" }))
.setAvatarTwo(user.displayAvatarURL({ format: "png" }))
.setEmoji("https://cdn.discordapp.com/attachments/862794910016339968/943529131658842122/heart.png")
.setBackground("https://cdn.discordapp.com/attachments/862794910016339968/943529275968094248/unknown.png")
.love()
const attachment = new discord.MessageAttachment(love, 'love.png');
return message.reply({ files: [attachment] });
}
}
client.login("bot_token");PREVIEW
