shoukaku-bun 4.2.0-c → 4.2.0-d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -47
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -44,63 +44,23 @@ Even a coffee helps keep the motivation high! ☕
|
|
|
44
44
|
|
|
45
45
|
### Installation
|
|
46
46
|
|
|
47
|
-
This is a specialized fork. Install it directly from GitHub:
|
|
48
|
-
|
|
49
47
|
```bash
|
|
50
48
|
bun add shoukaku-bun
|
|
51
49
|
```
|
|
52
50
|
|
|
53
|
-
|
|
54
51
|
### Official Documentation
|
|
55
52
|
|
|
56
53
|
> https://guide.shoukaku.shipgirl.moe/
|
|
54
|
+
> https://github.com/shipgirlproject/Shoukaku
|
|
57
55
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
> https://guide.shoukaku.shipgirl.moe/guides/1-getting-started/
|
|
61
|
-
|
|
62
|
-
### Supported Libraries
|
|
63
|
-
|
|
64
|
-
> https://guide.shoukaku.shipgirl.moe/guides/5-connectors/
|
|
65
|
-
|
|
66
|
-
### Example Bot
|
|
67
|
-
|
|
68
|
-
> https://github.com/Deivu/Kongou
|
|
69
|
-
|
|
70
|
-
### Configuration Options
|
|
71
|
-
|
|
72
|
-
```js
|
|
73
|
-
// Parameters for main class init, Options is the Configuration Options
|
|
74
|
-
new Shoukaku(new Connectors.DiscordJS(client), Nodes, Options);
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
| Option | Type | Default | Description | Notes |
|
|
78
|
-
| ---------------------- | ---------------------- | -------- | ------------------------------------------------------------------------------------------------ | ------------------------ |
|
|
79
|
-
| resume | boolean | false | If you want to enable resuming when your connection to lavalink disconnects | |
|
|
80
|
-
| resumeTimeout | number | 30 | Timeout before lavalink destroys the players on a disconnect | In seconds |
|
|
81
|
-
| resumeByLibrary | boolean | false | If you want to force resume players no matter what even if it's not resumable by lavalink | |
|
|
82
|
-
| reconnectTries | number | 3 | Number of tries to reconnect to lavalink before disconnecting | |
|
|
83
|
-
| reconnectInterval | number | 5 | Timeout between reconnects | In seconds |
|
|
84
|
-
| restTimeout | number | 60 | Maximum amount of time to wait for rest lavalink api requests | In seconds |
|
|
85
|
-
| moveOnDisconnect | boolean | false | Whether to move players to a different lavalink node when a node disconnects | |
|
|
86
|
-
| userAgent | string | (auto) | Changes the user-agent used for lavalink requests | Not recommeded to change |
|
|
87
|
-
| structures | Object{rest?, player?} | {} | Custom structures for shoukaku to use | |
|
|
88
|
-
| voiceConnectionTimeout | number | 15 | Maximum amount of time to wait for a join voice channel command | In seconds |
|
|
89
|
-
| nodeResolver | function | function | Custom node resolver if you want to have your own method of getting the ideal node | |
|
|
90
|
-
|
|
91
|
-
### Wrappers
|
|
92
|
-
|
|
93
|
-
| Name | Link | Description |
|
|
94
|
-
| -------- | --------------------------------------------- | -------------------------------------------------------- |
|
|
95
|
-
| Kazagumo-Bun | [Github](https://github.com/uigiColantuono/Kazagumo-Bun) | A wrapper for Shoukaku that has an internal queue system |
|
|
96
|
-
|
|
97
|
-
> Open a pr if you want to add a wrapper here
|
|
98
|
-
|
|
99
|
-
### Other Links
|
|
56
|
+
## Performance
|
|
100
57
|
|
|
101
|
-
|
|
58
|
+
)
|
|
102
59
|
|
|
103
|
-
|
|
60
|
+
## Support
|
|
61
|
+
> Kazagumo support server: https://discord.gg/nPPW2Gzqg2 (anywhere lmao)
|
|
62
|
+
> Shoukaku support server: https://discord.gg/FVqbtGu (#development)
|
|
63
|
+
> Brucius support server: https://discord.gg/XqJw52d35R
|
|
104
64
|
|
|
105
65
|
### Code made with ❤ by @ichimakase (Saya) & Luigi
|
|
106
66
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shoukaku-bun",
|
|
3
|
-
"version": "4.2.0-
|
|
3
|
+
"version": "4.2.0-d",
|
|
4
4
|
"description": "Bun-native high-performance fork of Shoukaku. Node-dependencies purged.",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"module": "index.ts",
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@shipgirl/eslint-config": "^0.
|
|
59
|
+
"@shipgirl/eslint-config": "^0.4.2",
|
|
60
60
|
"@types/bun": "latest",
|
|
61
61
|
"eslint": "^9.39.2",
|
|
62
62
|
"typedoc": "^0.28.16",
|
|
63
63
|
"typescript": "^5.9.3"
|
|
64
64
|
}
|
|
65
|
-
}
|
|
65
|
+
}
|