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

shoukaku

Package Overview
Dependencies
Maintainers
0
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shoukaku

A stable and updated wrapper around Lavalink

  • 4.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1K
decreased by-15.81%
Maintainers
0
Weekly downloads
 
Created
Source

Shoukaku

A stable and updated wrapper around Lavalink

Discord npm Github Stars GitHub issues NPM

Shoukaku, from Azur Lane, drawn by: elfenlied22

Features

  • Stable

  • Updated

  • Documented

  • Extendable

  • ESM & CommonJS supported

  • Very cute (Very Important)

Documentation

https://guide.shoukaku.shipgirl.moe/

Getting Started

https://guide.shoukaku.shipgirl.moe/guides/1-getting-started/

Supported Libraries

https://guide.shoukaku.shipgirl.moe/guides/5-connectors/

Example Bot

https://github.com/Deivu/Kongou

Configuration Options

// Parameters for main class init, Options is the Configuration Options
new Shoukaku(new Connectors.DiscordJS(client), Nodes, Options);
OptionTypeDefaultDescriptionNotes
resumebooleanfalseIf you want to enable resuming when your connection when your connection to lavalink disconnects
resumeTimeoutnumber30Timeout before lavalink destroys the players on a disconnectIn seconds
resumeByLibrarybooleanfalseIf you want to force resume players no matter what even if it's not resumable by lavalink
reconnectTriesnumber3Number of tries to reconnect to lavalink before disconnecting
reconnectIntervalnumber5Timeout between reconnectsIn seconds
restTimeoutnumber60Maximum amount of time to wait for rest lavalink api requestsIn seconds
moveOnDisconnectbooleanfalseWhether to move players to a different lavalink node when a node disconnects
userAgentstring(auto)Changes the user-agent used for lavalink requestsNot recommeded to change
structuresObject{rest?, player?}{}Custom structures for shoukaku to use
voiceConnectionTimeoutnumber15Maximum amount of time to wait for a join voice channel commandIn seconds
nodeResolverfunctionfunctionCustom node resolver if you want to have your own method of getting the ideal node

Wrappers

NameLinkDescription
KazagumoGithubA wrapper for Shoukaku that has an internal queue system

Open a pr if you want to add a wrapper here

Code made with ❤ by @ichimakase (Saya)

The Shipgirl Project

Keywords

FAQs

Package last updated on 23 Aug 2024

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