Socket
Socket
Sign inDemoInstall

fluxpoint-api.js

Package Overview
Dependencies
15
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    fluxpoint-api.js

Interact with the fluxpoint.dev api via Discord.js


Version published
Maintainers
1
Created

Readme

Source

Welcome to Fluxpoint.js 👋

downloads
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); // img url

  message.channel.send(embed);
});

Author

👤 ~ Fearful ~#2000

  • Contact me here:

Keywords

FAQs

Last updated on 19 Jul 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc