aoi.jikan

1.5.1 • Public • Published

aoi.jikan

A package for AOIJS. Used to fetch info from JIKAN API!

Setup

//aoi setup
const { AoiClient } = require("aoi.js");

const client = new AoiClient({
  token: "Discord Bot Token",
  prefix: "Discord Bot Prefix",
  intents: ["MessageContent", "Guilds", "GuildMessages"],
  events: ["onMessage", "onInteractionCreate"],
  database: {
    type: "aoi.db",
    db: require("@akarui/aoi.db"),
    dbType: "KeyValue",
    tables: ["main"],
    securityKey: "a-32-characters-long-string-here",
  }
});

//aoi.jikan setup
const aoijikan = require("aoi.jikan");
aoijikan.setup({
  client: client, // or bot as per your config
  errorsType: "message", // or "console"
  version: "v1", //the latest and only
  token: "WAIFU API token" //its completely optional incase you wanna access the API's commands.
});

Docs

To know the functions and usage, visit DOCS

Current Functions

  • $getID
  • $animeInfo
  • $animeCharInfo
  • $animeEpisodes
  • $charInfo
  • $episodeInfo
  • $heartbeat
  • $mangaInfo
  • $mangaCharInfo
  • $nextAir
  • $personInfo
  • $quote
  • $randomMangaID
  • $randomAnimeID
  • $randomID
  • $randomImage
  • $randomCharImg
  • $searchChar
  • $searchAnime
  • $searchManga
  • $schedule
  • $strip
  • $studioInfo
  • $trendingAnime
  • $trendingManga
  • $upcoming

Credits

  • @lordex
  • @Ares

Package Sidebar

Install

npm i aoi.jikan

Weekly Downloads

3

Version

1.5.1

License

MIT

Unpacked Size

58.1 kB

Total Files

43

Last publish

Collaborators

  • nanotechpikachu