JSPM

wa2000

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q15141F
  • License MIT

Your tsundere gun-girl that aims to integrate global ratelimits handling for Discord.JS v12

Package Exports

  • wa2000

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 (wa2000) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Walther WA2000

Your tsundere gun-girl that aims to integrate proper and globally synced ratelimit handling for Discord.JS v12

(c) Girl's Frontline for Wa2000-chan

Features

✅ Easy to use

✅ Tsundere Gun-Girl Waifu

✅ A drop in solution for your 429 problems

✅ Works both in Discord.JS v12 stable and master branch

Installation

npm i Deivu/Walther-WA2000 --save

Documentation

https://deivu.github.io/Walther-WA2000/

Support

https://discord.gg/FVqbtGu #development channel

Example

Running Wa2000 should be similar on how you do it with Kurasuta Click Me, Except Your Index.JS will need minor changes

Example of index.js

const { join } = require('path');
const Walther = require('wa2000');
const YourBotClient = require('./YourBotClient.js')
const KurasutaOptions = {
    client: YourBotClient,
    timeout: 90000,
    token: 'idk'
};
const WaltherOptions = {
    handlerSweepInterval: 150000,
    hashInactiveTimeout: 300000,
    requestOffset: 500
};
const walther = new Walther(join(__dirname, 'YourBaseCluster.js'), KurasutaOptions,  WaltherOptions);
// If you need to access the Kurasuta Sharding Manager, example, you want to listen to shard ready event
walther.manager.on('shardReady', id => console.log(`Shard ${id} is now ready`));
// Call spawn from walther, not from kurasuta
walther.spawn();

Example Bot

https://github.com/Deivu/Kongou

Based from my Handling from @Kashima, Made with ❤ by @Sāya#0113