Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fluxpoint-api.js

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fluxpoint-api.js

Interact with the fluxpoint.dev api via Discord.js

  • 2.2.0
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 19 Jul 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc