Welcome to Fluxpoint.js 👋
Fluxpoint is a private api, apply for access here
npm i fluxpoint-api.js
Get Started
const fluxpoint = require("fluxpoint-api.js");
const client = new fluxpoint.FluxClient("api_token");
Supported API Interactions
Gallery
client.gallery("album_id").then((img) => {
});
NSFW
you are responsible for locking this to nsfw channels.
Types: azurlane
, nekopara
, lewd
client.nsfw("image_type").then((img) => {
});
List (Welcome Icons)
const fluxpoint = require("fluxpoint-api.js");
const client = new fluxpoint.Client("api_token");
await client.listWelcomeIcons().then((res) => {
message.channel.send(`\`\`\`json\n${res.list.join("\n")}\`\`\``);
});
List (Welcome Banners)
const fluxpoint = require("fluxpoint-api.js");
const client = new fluxpoint.Client("api_token");
await client.listWelcomeBanners().then((res) => {
message.channel.send(`\`\`\`json\n${res.list.join("\n")}\`\`\``);
});
🚀 Usage Example(s)
Embeds (Gallery)
client.gallery("album_id").then((img) => {
let embed = new Discord.MessageEmbed()
.setTitle("Embed Title")
.setDescription("")
.setImage(img.file);
message.channel.send(embed);
});
Author
👤 ~ Fearful ~#2000