hoshimi 0.3.8 β 0.3.9-dev-22167447680.0
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/LICENSE +21 -21
- package/README.md +141 -141
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -4
- package/dist/index.mjs +6 -4
- package/package.json +4 -4
package/LICENSE
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
The MIT License (MIT)
|
|
3
|
-
|
|
4
|
-
Copyright (c) 2024 Ganyu Studios
|
|
5
|
-
|
|
6
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
-
in the Software without restriction, including without limitation the rights
|
|
9
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
-
furnished to do so, subject to the following conditions:
|
|
12
|
-
|
|
13
|
-
The above copyright notice and this permission notice shall be included in all
|
|
14
|
-
copies or substantial portions of the Software.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1
|
+
|
|
2
|
+
The MIT License (MIT)
|
|
3
|
+
|
|
4
|
+
Copyright (c) 2024 Ganyu Studios
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,142 +1,142 @@
|
|
|
1
|
-
<div align="center">
|
|
2
|
-
<h1>Hoshimi (BETA)</h1>
|
|
3
|
-
<p>A lavalink@v4 client easy to use, up-to-date, and of course</p>
|
|
4
|
-
<div align="center">
|
|
5
|
-
<img src="https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white" />
|
|
6
|
-
<img src="https://img.shields.io/badge/MIT-green?style=for-the-badge" />
|
|
7
|
-
</div>
|
|
8
|
-
<br/>
|
|
9
|
-
<img alt="hoshimi" src="./assets/logo.png" />
|
|
10
|
-
|
|
11
|
-

|
|
12
|
-

|
|
13
|
-
|
|
14
|
-
<p>
|
|
15
|
-
<a href="https://www.npmjs.com/package/hoshimi">
|
|
16
|
-
<img src="https://nodei.co/npm/hoshimi.png?downloads=true&stars=true" alt="NPM Install: hoshimi" />
|
|
17
|
-
</a>
|
|
18
|
-
</p>
|
|
19
|
-
</div>
|
|
20
|
-
|
|
21
|
-
## π¦ Features
|
|
22
|
-
- π **V4**: Works with lavalink v4 and their features (wip).
|
|
23
|
-
- π **Node Manager**: Manage nodes, auto leastβused selection, session resume and more.
|
|
24
|
-
- βΆοΈ **Autoplay**: YouTube and Spotify recommendations out of the box; easily extend with your own function.
|
|
25
|
-
- π **Lyrics**: Control your lyrics with live-lyrics updates; validates required plugins.
|
|
26
|
-
- π **REST + WebSocket**: Typed REST helpers, player/session control, decode single/multiple tracks.
|
|
27
|
-
- π£ **Events**: Granular events with debug levels.
|
|
28
|
-
- π§© **Extensible**: Override structures with your own ones.
|
|
29
|
-
- π§ͺ **Safety & DX**: Strict validation, descriptive errors, TypeScript-first API build, and formatting/linting.
|
|
30
|
-
- π **Filters**: Built-in filters, easy management and easy to use!
|
|
31
|
-
|
|
32
|
-
## βοΈ Requirements
|
|
33
|
-
- **Runtime** - atleast one of:
|
|
34
|
-
- [Node.js](https://nodejs.org) v22+
|
|
35
|
-
- [Bun](https://bun.com) v1.3+
|
|
36
|
-
- [Deno](https://deno.com) v2.5+ (unstable)
|
|
37
|
-
|
|
38
|
-
## π¦ Installation
|
|
39
|
-
|
|
40
|
-
```sh
|
|
41
|
-
# Stable... and the development one (unstable)...
|
|
42
|
-
|
|
43
|
-
# Using NPM
|
|
44
|
-
npm install hoshimi # Stable
|
|
45
|
-
npm install https://github.com/Ganyu-Studios/Hoshimi.git # Development
|
|
46
|
-
|
|
47
|
-
# Using PNPM
|
|
48
|
-
pnpm install hoshimi
|
|
49
|
-
pnpm install https://github.com/Ganyu-Studios/Hoshimi.git
|
|
50
|
-
|
|
51
|
-
# Using YARN
|
|
52
|
-
yarn add hoshimi
|
|
53
|
-
yarn add https://github.com/Ganyu-Studios/Hoshimi.git
|
|
54
|
-
|
|
55
|
-
# Using BUN
|
|
56
|
-
bun add hoshimi
|
|
57
|
-
bun add https://github.com/Ganyu-Studios/Hoshimi.git
|
|
58
|
-
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
## π Basic Setup
|
|
62
|
-
|
|
63
|
-
You can read [this](/bot/src/index.ts) or you can follow this one:
|
|
64
|
-
|
|
65
|
-
```typescript
|
|
66
|
-
import { Hoshimi } from "hoshimi"; // She is all ears!
|
|
67
|
-
import { Client } from "seyfert"; // Only example client, you can use whatever you want...
|
|
68
|
-
|
|
69
|
-
const client = new Client(); // https://www.seyfert.dev/guide
|
|
70
|
-
|
|
71
|
-
const hoshimi = new Hoshimi({
|
|
72
|
-
nodes: [
|
|
73
|
-
{
|
|
74
|
-
host: "localhost",
|
|
75
|
-
port: 2333,
|
|
76
|
-
password: "youshallnotpass",
|
|
77
|
-
},
|
|
78
|
-
], // Add more nodes if you want!
|
|
79
|
-
sendPayload(guildId, payload) {
|
|
80
|
-
// Your client send to shard payload function
|
|
81
|
-
client.gateway.send(client.gateway.calculateShardId(guildId), payload);
|
|
82
|
-
},
|
|
83
|
-
});
|
|
84
|
-
|
|
85
|
-
// Bind the manager into your client!
|
|
86
|
-
client.hoshimi = hoshimi;
|
|
87
|
-
|
|
88
|
-
// FOLLOW YOUR CLIENT EVENT IMPLEMENTATION
|
|
89
|
-
// THIS IS ONLY A EXAMPLE, NOT A REAL USAGE
|
|
90
|
-
client.events.values.READY = {
|
|
91
|
-
__filePath: null,
|
|
92
|
-
data: { name: "ready", once: true },
|
|
93
|
-
run(user, client) {
|
|
94
|
-
client.logger.info(`Logged in as ${user.username}`);
|
|
95
|
-
|
|
96
|
-
// Call the manager to initialize hoshimi
|
|
97
|
-
hoshimi.init({ ...user, username: user.username });
|
|
98
|
-
},
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
client.events.values.RAW = {
|
|
102
|
-
__filePath: null,
|
|
103
|
-
data: { name: "raw" },
|
|
104
|
-
async run(data, client) {
|
|
105
|
-
// Call the handler on the gateway dispatch events
|
|
106
|
-
await hoshimi.updateVoiceState(data);
|
|
107
|
-
},
|
|
108
|
-
};
|
|
109
|
-
|
|
110
|
-
(async () => {
|
|
111
|
-
await client.start();
|
|
112
|
-
})();
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
## π Used By
|
|
116
|
-
|
|
117
|
-
- For now, no one is using it :(
|
|
118
|
-
|
|
119
|
-
## π Additional Notes
|
|
120
|
-
I am currently working on this package.</br> This package takes some ideas provided from libraries like:
|
|
121
|
-
|
|
122
|
-
- π¦ [`lavalink-client`](https://github.com/Tomato6966/lavalink-client/)
|
|
123
|
-
- π¦ [`kazagumo`](https://github.com/Takiyo0/Kazagumo)
|
|
124
|
-
- π¦ [`distube`](https://github.com/skick1234/DisTube)
|
|
125
|
-
- π¦ [`discord-player`](https://github.com/Androz2091/discord-player)
|
|
126
|
-
- π¦ [`shoukaku`](https://github.com/shipgirlproject/Shoukaku)
|
|
127
|
-
|
|
128
|
-
**I'm taking their job as a base for this project, I love their job, all of them, I just took some
|
|
129
|
-
stuff because i'm too lazy to make my own.**</br> If anyone of them wants to
|
|
130
|
-
talk to me to remove their stuff, they can.</br>
|
|
131
|
-
|
|
132
|
-
But made with my code style and my knowledge and of course up-to-date.
|
|
133
|
-
|
|
134
|
-
## π License
|
|
135
|
-
|
|
136
|
-
Copyright Β© 2025 [Ganyu Studios](https://github.com/Ganyu-Studios).
|
|
137
|
-
|
|
138
|
-
This project is [MIT](LICENSE) licensed.
|
|
139
|
-
|
|
140
|
-
- *The character and assets are not my property, property of miHoYo Co. Ltd. (HoYoverse)*
|
|
141
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
<h1>Hoshimi (BETA)</h1>
|
|
3
|
+
<p>A lavalink@v4 client easy to use, up-to-date, and of course</p>
|
|
4
|
+
<div align="center">
|
|
5
|
+
<img src="https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white" />
|
|
6
|
+
<img src="https://img.shields.io/badge/MIT-green?style=for-the-badge" />
|
|
7
|
+
</div>
|
|
8
|
+
<br/>
|
|
9
|
+
<img alt="hoshimi" src="./assets/logo.png" />
|
|
10
|
+
|
|
11
|
+

|
|
12
|
+

|
|
13
|
+
|
|
14
|
+
<p>
|
|
15
|
+
<a href="https://www.npmjs.com/package/hoshimi">
|
|
16
|
+
<img src="https://nodei.co/npm/hoshimi.png?downloads=true&stars=true" alt="NPM Install: hoshimi" />
|
|
17
|
+
</a>
|
|
18
|
+
</p>
|
|
19
|
+
</div>
|
|
20
|
+
|
|
21
|
+
## π¦ Features
|
|
22
|
+
- π **V4**: Works with lavalink v4 and their features (wip).
|
|
23
|
+
- π **Node Manager**: Manage nodes, auto leastβused selection, session resume and more.
|
|
24
|
+
- βΆοΈ **Autoplay**: YouTube and Spotify recommendations out of the box; easily extend with your own function.
|
|
25
|
+
- π **Lyrics**: Control your lyrics with live-lyrics updates; validates required plugins.
|
|
26
|
+
- π **REST + WebSocket**: Typed REST helpers, player/session control, decode single/multiple tracks.
|
|
27
|
+
- π£ **Events**: Granular events with debug levels.
|
|
28
|
+
- π§© **Extensible**: Override structures with your own ones.
|
|
29
|
+
- π§ͺ **Safety & DX**: Strict validation, descriptive errors, TypeScript-first API build, and formatting/linting.
|
|
30
|
+
- π **Filters**: Built-in filters, easy management and easy to use!
|
|
31
|
+
|
|
32
|
+
## βοΈ Requirements
|
|
33
|
+
- **Runtime** - atleast one of:
|
|
34
|
+
- [Node.js](https://nodejs.org) v22+
|
|
35
|
+
- [Bun](https://bun.com) v1.3+
|
|
36
|
+
- [Deno](https://deno.com) v2.5+ (unstable)
|
|
37
|
+
|
|
38
|
+
## π¦ Installation
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
# Stable... and the development one (unstable)...
|
|
42
|
+
|
|
43
|
+
# Using NPM
|
|
44
|
+
npm install hoshimi # Stable
|
|
45
|
+
npm install https://github.com/Ganyu-Studios/Hoshimi.git # Development
|
|
46
|
+
|
|
47
|
+
# Using PNPM
|
|
48
|
+
pnpm install hoshimi
|
|
49
|
+
pnpm install https://github.com/Ganyu-Studios/Hoshimi.git
|
|
50
|
+
|
|
51
|
+
# Using YARN
|
|
52
|
+
yarn add hoshimi
|
|
53
|
+
yarn add https://github.com/Ganyu-Studios/Hoshimi.git
|
|
54
|
+
|
|
55
|
+
# Using BUN
|
|
56
|
+
bun add hoshimi
|
|
57
|
+
bun add https://github.com/Ganyu-Studios/Hoshimi.git
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## π Basic Setup
|
|
62
|
+
|
|
63
|
+
You can read [this](/bot/src/index.ts) or you can follow this one:
|
|
64
|
+
|
|
65
|
+
```typescript
|
|
66
|
+
import { Hoshimi } from "hoshimi"; // She is all ears!
|
|
67
|
+
import { Client } from "seyfert"; // Only example client, you can use whatever you want...
|
|
68
|
+
|
|
69
|
+
const client = new Client(); // https://www.seyfert.dev/guide
|
|
70
|
+
|
|
71
|
+
const hoshimi = new Hoshimi({
|
|
72
|
+
nodes: [
|
|
73
|
+
{
|
|
74
|
+
host: "localhost",
|
|
75
|
+
port: 2333,
|
|
76
|
+
password: "youshallnotpass",
|
|
77
|
+
},
|
|
78
|
+
], // Add more nodes if you want!
|
|
79
|
+
sendPayload(guildId, payload) {
|
|
80
|
+
// Your client send to shard payload function
|
|
81
|
+
client.gateway.send(client.gateway.calculateShardId(guildId), payload);
|
|
82
|
+
},
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
// Bind the manager into your client!
|
|
86
|
+
client.hoshimi = hoshimi;
|
|
87
|
+
|
|
88
|
+
// FOLLOW YOUR CLIENT EVENT IMPLEMENTATION
|
|
89
|
+
// THIS IS ONLY A EXAMPLE, NOT A REAL USAGE
|
|
90
|
+
client.events.values.READY = {
|
|
91
|
+
__filePath: null,
|
|
92
|
+
data: { name: "ready", once: true },
|
|
93
|
+
run(user, client) {
|
|
94
|
+
client.logger.info(`Logged in as ${user.username}`);
|
|
95
|
+
|
|
96
|
+
// Call the manager to initialize hoshimi
|
|
97
|
+
hoshimi.init({ ...user, username: user.username });
|
|
98
|
+
},
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
client.events.values.RAW = {
|
|
102
|
+
__filePath: null,
|
|
103
|
+
data: { name: "raw" },
|
|
104
|
+
async run(data, client) {
|
|
105
|
+
// Call the handler on the gateway dispatch events
|
|
106
|
+
await hoshimi.updateVoiceState(data);
|
|
107
|
+
},
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
(async () => {
|
|
111
|
+
await client.start();
|
|
112
|
+
})();
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
## π Used By
|
|
116
|
+
|
|
117
|
+
- For now, no one is using it :(
|
|
118
|
+
|
|
119
|
+
## π Additional Notes
|
|
120
|
+
I am currently working on this package.</br> This package takes some ideas provided from libraries like:
|
|
121
|
+
|
|
122
|
+
- π¦ [`lavalink-client`](https://github.com/Tomato6966/lavalink-client/)
|
|
123
|
+
- π¦ [`kazagumo`](https://github.com/Takiyo0/Kazagumo)
|
|
124
|
+
- π¦ [`distube`](https://github.com/skick1234/DisTube)
|
|
125
|
+
- π¦ [`discord-player`](https://github.com/Androz2091/discord-player)
|
|
126
|
+
- π¦ [`shoukaku`](https://github.com/shipgirlproject/Shoukaku)
|
|
127
|
+
|
|
128
|
+
**I'm taking their job as a base for this project, I love their job, all of them, I just took some
|
|
129
|
+
stuff because i'm too lazy to make my own.**</br> If anyone of them wants to
|
|
130
|
+
talk to me to remove their stuff, they can.</br>
|
|
131
|
+
|
|
132
|
+
But made with my code style and my knowledge and of course up-to-date.
|
|
133
|
+
|
|
134
|
+
## π License
|
|
135
|
+
|
|
136
|
+
Copyright Β© 2025 [Ganyu Studios](https://github.com/Ganyu-Studios).
|
|
137
|
+
|
|
138
|
+
This project is [MIT](LICENSE) licensed.
|
|
139
|
+
|
|
140
|
+
- *The character and assets are not my property, property of miHoYo Co. Ltd. (HoYoverse)*
|
|
141
|
+
|
|
142
142
|
> *Made with πβ€οΈπͺ... A project made by the community, for the community.*
|
package/dist/index.d.mts
CHANGED
|
@@ -6641,4 +6641,4 @@ declare const DefaultFilterPreset: Readonly<{
|
|
|
6641
6641
|
*/
|
|
6642
6642
|
declare const DefaultPlayerFilters: Readonly<FilterSettings>;
|
|
6643
6643
|
|
|
6644
|
-
export { AudioOutput, AudioOutputData, type Awaitable, type ChannelDelete, type ChannelDeletePacket, type ChannelMixSettings, type ClientData, type CustomizablePlayerStorage, type CustomizableStructures, type CustomizableTrack, DSPXPluginFilter, DebugLevels, type DecodeMethods, type DeepRequired, DefaultFilterPreset, DefaultPlayerFilters, DestroyReasons, type DistortionSettings, type EQBandSettings, type EchoSettings, type EnabledDSPXPluginFilters, type EnabledLavalinkFilters, type EnabledPlayerFilters, EventNames, type Exception, type FetchOptions, FilterManager, type FilterManagerStructure, type FilterPluginPassSettings, type FilterSettings, FilterType, type FreqSettings, type GatewayPayload, type GatewaySendPayload, Hoshimi, HoshimiAgent, type HoshimiEvents, type HoshimiNodeOptions, type HoshimiOptions, type HoshimiPlayerOptions, type HoshimiQueueOptions, type HoshimiRestOptions, type HoshimiTrack, HttpMethods, HttpStatusCodes, type If, type InferCustomStructure, type Inferable, type KaraokeSettings, type LavalinkFilterPluginEchoSettings, type LavalinkFilterPluginReverbSettings, type LavalinkFilterPluginSettings, type LavalinkPayload, type LavalinkPlayOptions, type LavalinkPlayer, type LavalinkPlayerState, type LavalinkPlayerVoice, LavalinkPluginFilter, type LavalinkRestError, type LavalinkSearchResponse, type LavalinkSession, type LavalinkTrack, LoadType, LoopMode, type LowPassSettings, type LyricsFoundEvent, type LyricsLine, type LyricsLineEvent, type LyricsManagerStructure, type LyricsMethods, type LyricsNotFoundEvent, type LyricsResult, ManagerError, Node, type NodeCpu, type NodeDestroyInfo, NodeDestroyReasons, type NodeDisconnectInfo, NodeError, type NodeFrameStats, type NodeIdentifier, type NodeInfo, type NodeInfoGit, type NodeInfoPlugin, type NodeInfoVersion, type NodeJson, NodeManagerError, type NodeManagerStructure, type NodeMemory, type NodeOptions, NodeSortTypes, type NodeStructure, type NormalizationSettings, type Nullable, type NullableLavalinkSession, type Omit$1 as Omit, OpCodes, OptionError, type PickNullable, type PickRequired, type PlayOptions, Player, PlayerError, type PlayerEvent, PlayerEventType, type PlayerJson, PlayerMemoryStorage, type PlayerOptions, PlayerStorageAdapter, type PlayerStructure, type PlayerUpdate, type PlayerUpdateState, type PlayerVoice, type Playlist, type PlaylistInfo, type PluginFilterSettings, type PluginInfo, PluginInfoType, PluginNames, type QueryResult, Queue, type QueueJson, QueueMemoryStorage, QueueStorageAdapter, type QueueStructure, type Ready, ResolveError, Rest, type RestEndpoint, type RestOptions, type RestOrArray, RestPathType, RestRoutes, type RestStructure, type ResumableHeaders, type RotationSettings, SearchEngines, type SearchOptions, type SearchQuery, type SessionResumingOptions, Severity, SourceNames, State, type Stats, StorageError, type StorageKeys, type StorageValues, Structures, type TimescaleSettings, Track, type TrackEndEvent, TrackEndReason, type TrackExceptionEvent, type TrackInfo, type TrackRequester, type TrackStartEvent, type TrackStructure, type TrackStuckEvent, type TrackUserData, type TremoloSettings, type UnresolvedLavalinkTrack, UnresolvedTrack, type UnresolvedTrackInfo, type UnresolvedTrackStructure, type UpdatePlayerInfo, UrlRegex, type UserAgent, ValidEngines, ValidSources, type VoiceChannelUpdate, type VoicePacket, type VoiceServer, type VoiceState, type WebSocketClosedEvent, WebsocketCloseCodes, createHoshimi };
|
|
6644
|
+
export { AudioOutput, AudioOutputData, type Awaitable, type ChannelDelete, type ChannelDeletePacket, type ChannelMixSettings, type ClientData, type CustomizablePlayerStorage, type CustomizableStructures, type CustomizableTrack, DSPXPluginFilter, DebugLevels, type DecodeMethods, type DeepRequired, DefaultFilterPreset, DefaultPlayerFilters, DestroyReasons, type DistortionSettings, type EQBandSettings, type EchoSettings, type EnabledDSPXPluginFilters, type EnabledLavalinkFilters, type EnabledPlayerFilters, EventNames, type Exception, type FetchOptions, FilterManager, type FilterManagerStructure, type FilterPluginPassSettings, type FilterSettings, FilterType, type FreqSettings, type GatewayPayload, type GatewaySendPayload, Hoshimi, HoshimiAgent, type HoshimiEvents, type HoshimiNodeOptions, type HoshimiOptions, type HoshimiPlayerOptions, type HoshimiQueueOptions, type HoshimiRestOptions, type HoshimiTrack, HttpMethods, HttpStatusCodes, type If, type InferCustomStructure, type Inferable, type KaraokeSettings, type LavalinkFilterPluginEchoSettings, type LavalinkFilterPluginReverbSettings, type LavalinkFilterPluginSettings, type LavalinkPayload, type LavalinkPlayOptions, type LavalinkPlayer, type LavalinkPlayerState, type LavalinkPlayerVoice, LavalinkPluginFilter, type LavalinkRestError, type LavalinkSearchResponse, type LavalinkSession, type LavalinkTrack, LoadType, LoopMode, type LowPassSettings, type LyricsFoundEvent, type LyricsLine, type LyricsLineEvent, LyricsManager, type LyricsManagerStructure, type LyricsMethods, type LyricsNotFoundEvent, type LyricsResult, ManagerError, Node, type NodeCpu, type NodeDestroyInfo, NodeDestroyReasons, type NodeDisconnectInfo, NodeError, type NodeFrameStats, type NodeIdentifier, type NodeInfo, type NodeInfoGit, type NodeInfoPlugin, type NodeInfoVersion, type NodeJson, NodeManager, NodeManagerError, type NodeManagerStructure, type NodeMemory, type NodeOptions, NodeSortTypes, type NodeStructure, type NormalizationSettings, type Nullable, type NullableLavalinkSession, type Omit$1 as Omit, OpCodes, OptionError, type PickNullable, type PickRequired, type PlayOptions, Player, PlayerError, type PlayerEvent, PlayerEventType, type PlayerJson, PlayerMemoryStorage, type PlayerOptions, PlayerStorageAdapter, type PlayerStructure, type PlayerUpdate, type PlayerUpdateState, type PlayerVoice, type Playlist, type PlaylistInfo, type PluginFilterSettings, type PluginInfo, PluginInfoType, PluginNames, type QueryResult, Queue, type QueueJson, QueueMemoryStorage, QueueStorageAdapter, type QueueStructure, type Ready, ResolveError, Rest, type RestEndpoint, type RestOptions, type RestOrArray, RestPathType, RestRoutes, type RestStructure, type ResumableHeaders, type RotationSettings, SearchEngines, type SearchOptions, type SearchQuery, type SessionResumingOptions, Severity, SourceNames, State, type Stats, StorageError, type StorageKeys, type StorageValues, Structures, type TimescaleSettings, Track, type TrackEndEvent, TrackEndReason, type TrackExceptionEvent, type TrackInfo, type TrackRequester, type TrackStartEvent, type TrackStructure, type TrackStuckEvent, type TrackUserData, type TremoloSettings, type UnresolvedLavalinkTrack, UnresolvedTrack, type UnresolvedTrackInfo, type UnresolvedTrackStructure, type UpdatePlayerInfo, UrlRegex, type UserAgent, ValidEngines, ValidSources, type VoiceChannelUpdate, type VoicePacket, type VoiceServer, type VoiceState, type WebSocketClosedEvent, WebsocketCloseCodes, createHoshimi };
|
package/dist/index.d.ts
CHANGED
|
@@ -6641,4 +6641,4 @@ declare const DefaultFilterPreset: Readonly<{
|
|
|
6641
6641
|
*/
|
|
6642
6642
|
declare const DefaultPlayerFilters: Readonly<FilterSettings>;
|
|
6643
6643
|
|
|
6644
|
-
export { AudioOutput, AudioOutputData, type Awaitable, type ChannelDelete, type ChannelDeletePacket, type ChannelMixSettings, type ClientData, type CustomizablePlayerStorage, type CustomizableStructures, type CustomizableTrack, DSPXPluginFilter, DebugLevels, type DecodeMethods, type DeepRequired, DefaultFilterPreset, DefaultPlayerFilters, DestroyReasons, type DistortionSettings, type EQBandSettings, type EchoSettings, type EnabledDSPXPluginFilters, type EnabledLavalinkFilters, type EnabledPlayerFilters, EventNames, type Exception, type FetchOptions, FilterManager, type FilterManagerStructure, type FilterPluginPassSettings, type FilterSettings, FilterType, type FreqSettings, type GatewayPayload, type GatewaySendPayload, Hoshimi, HoshimiAgent, type HoshimiEvents, type HoshimiNodeOptions, type HoshimiOptions, type HoshimiPlayerOptions, type HoshimiQueueOptions, type HoshimiRestOptions, type HoshimiTrack, HttpMethods, HttpStatusCodes, type If, type InferCustomStructure, type Inferable, type KaraokeSettings, type LavalinkFilterPluginEchoSettings, type LavalinkFilterPluginReverbSettings, type LavalinkFilterPluginSettings, type LavalinkPayload, type LavalinkPlayOptions, type LavalinkPlayer, type LavalinkPlayerState, type LavalinkPlayerVoice, LavalinkPluginFilter, type LavalinkRestError, type LavalinkSearchResponse, type LavalinkSession, type LavalinkTrack, LoadType, LoopMode, type LowPassSettings, type LyricsFoundEvent, type LyricsLine, type LyricsLineEvent, type LyricsManagerStructure, type LyricsMethods, type LyricsNotFoundEvent, type LyricsResult, ManagerError, Node, type NodeCpu, type NodeDestroyInfo, NodeDestroyReasons, type NodeDisconnectInfo, NodeError, type NodeFrameStats, type NodeIdentifier, type NodeInfo, type NodeInfoGit, type NodeInfoPlugin, type NodeInfoVersion, type NodeJson, NodeManagerError, type NodeManagerStructure, type NodeMemory, type NodeOptions, NodeSortTypes, type NodeStructure, type NormalizationSettings, type Nullable, type NullableLavalinkSession, type Omit$1 as Omit, OpCodes, OptionError, type PickNullable, type PickRequired, type PlayOptions, Player, PlayerError, type PlayerEvent, PlayerEventType, type PlayerJson, PlayerMemoryStorage, type PlayerOptions, PlayerStorageAdapter, type PlayerStructure, type PlayerUpdate, type PlayerUpdateState, type PlayerVoice, type Playlist, type PlaylistInfo, type PluginFilterSettings, type PluginInfo, PluginInfoType, PluginNames, type QueryResult, Queue, type QueueJson, QueueMemoryStorage, QueueStorageAdapter, type QueueStructure, type Ready, ResolveError, Rest, type RestEndpoint, type RestOptions, type RestOrArray, RestPathType, RestRoutes, type RestStructure, type ResumableHeaders, type RotationSettings, SearchEngines, type SearchOptions, type SearchQuery, type SessionResumingOptions, Severity, SourceNames, State, type Stats, StorageError, type StorageKeys, type StorageValues, Structures, type TimescaleSettings, Track, type TrackEndEvent, TrackEndReason, type TrackExceptionEvent, type TrackInfo, type TrackRequester, type TrackStartEvent, type TrackStructure, type TrackStuckEvent, type TrackUserData, type TremoloSettings, type UnresolvedLavalinkTrack, UnresolvedTrack, type UnresolvedTrackInfo, type UnresolvedTrackStructure, type UpdatePlayerInfo, UrlRegex, type UserAgent, ValidEngines, ValidSources, type VoiceChannelUpdate, type VoicePacket, type VoiceServer, type VoiceState, type WebSocketClosedEvent, WebsocketCloseCodes, createHoshimi };
|
|
6644
|
+
export { AudioOutput, AudioOutputData, type Awaitable, type ChannelDelete, type ChannelDeletePacket, type ChannelMixSettings, type ClientData, type CustomizablePlayerStorage, type CustomizableStructures, type CustomizableTrack, DSPXPluginFilter, DebugLevels, type DecodeMethods, type DeepRequired, DefaultFilterPreset, DefaultPlayerFilters, DestroyReasons, type DistortionSettings, type EQBandSettings, type EchoSettings, type EnabledDSPXPluginFilters, type EnabledLavalinkFilters, type EnabledPlayerFilters, EventNames, type Exception, type FetchOptions, FilterManager, type FilterManagerStructure, type FilterPluginPassSettings, type FilterSettings, FilterType, type FreqSettings, type GatewayPayload, type GatewaySendPayload, Hoshimi, HoshimiAgent, type HoshimiEvents, type HoshimiNodeOptions, type HoshimiOptions, type HoshimiPlayerOptions, type HoshimiQueueOptions, type HoshimiRestOptions, type HoshimiTrack, HttpMethods, HttpStatusCodes, type If, type InferCustomStructure, type Inferable, type KaraokeSettings, type LavalinkFilterPluginEchoSettings, type LavalinkFilterPluginReverbSettings, type LavalinkFilterPluginSettings, type LavalinkPayload, type LavalinkPlayOptions, type LavalinkPlayer, type LavalinkPlayerState, type LavalinkPlayerVoice, LavalinkPluginFilter, type LavalinkRestError, type LavalinkSearchResponse, type LavalinkSession, type LavalinkTrack, LoadType, LoopMode, type LowPassSettings, type LyricsFoundEvent, type LyricsLine, type LyricsLineEvent, LyricsManager, type LyricsManagerStructure, type LyricsMethods, type LyricsNotFoundEvent, type LyricsResult, ManagerError, Node, type NodeCpu, type NodeDestroyInfo, NodeDestroyReasons, type NodeDisconnectInfo, NodeError, type NodeFrameStats, type NodeIdentifier, type NodeInfo, type NodeInfoGit, type NodeInfoPlugin, type NodeInfoVersion, type NodeJson, NodeManager, NodeManagerError, type NodeManagerStructure, type NodeMemory, type NodeOptions, NodeSortTypes, type NodeStructure, type NormalizationSettings, type Nullable, type NullableLavalinkSession, type Omit$1 as Omit, OpCodes, OptionError, type PickNullable, type PickRequired, type PlayOptions, Player, PlayerError, type PlayerEvent, PlayerEventType, type PlayerJson, PlayerMemoryStorage, type PlayerOptions, PlayerStorageAdapter, type PlayerStructure, type PlayerUpdate, type PlayerUpdateState, type PlayerVoice, type Playlist, type PlaylistInfo, type PluginFilterSettings, type PluginInfo, PluginInfoType, PluginNames, type QueryResult, Queue, type QueueJson, QueueMemoryStorage, QueueStorageAdapter, type QueueStructure, type Ready, ResolveError, Rest, type RestEndpoint, type RestOptions, type RestOrArray, RestPathType, RestRoutes, type RestStructure, type ResumableHeaders, type RotationSettings, SearchEngines, type SearchOptions, type SearchQuery, type SessionResumingOptions, Severity, SourceNames, State, type Stats, StorageError, type StorageKeys, type StorageValues, Structures, type TimescaleSettings, Track, type TrackEndEvent, TrackEndReason, type TrackExceptionEvent, type TrackInfo, type TrackRequester, type TrackStartEvent, type TrackStructure, type TrackStuckEvent, type TrackUserData, type TremoloSettings, type UnresolvedLavalinkTrack, UnresolvedTrack, type UnresolvedTrackInfo, type UnresolvedTrackStructure, type UpdatePlayerInfo, UrlRegex, type UserAgent, ValidEngines, ValidSources, type VoiceChannelUpdate, type VoicePacket, type VoiceServer, type VoiceState, type WebSocketClosedEvent, WebsocketCloseCodes, createHoshimi };
|
package/dist/index.js
CHANGED
|
@@ -37,10 +37,12 @@ __export(index_exports, {
|
|
|
37
37
|
LavalinkPluginFilter: () => LavalinkPluginFilter,
|
|
38
38
|
LoadType: () => LoadType,
|
|
39
39
|
LoopMode: () => LoopMode,
|
|
40
|
+
LyricsManager: () => LyricsManager,
|
|
40
41
|
ManagerError: () => ManagerError,
|
|
41
42
|
Node: () => Node,
|
|
42
43
|
NodeDestroyReasons: () => NodeDestroyReasons,
|
|
43
44
|
NodeError: () => NodeError,
|
|
45
|
+
NodeManager: () => NodeManager,
|
|
44
46
|
NodeManagerError: () => NodeManagerError,
|
|
45
47
|
NodeSortTypes: () => NodeSortTypes,
|
|
46
48
|
OpCodes: () => OpCodes,
|
|
@@ -486,12 +488,12 @@ var QueueStorageAdapter = class {
|
|
|
486
488
|
// package.json
|
|
487
489
|
var package_default = {
|
|
488
490
|
name: "hoshimi",
|
|
489
|
-
version: "0.3.
|
|
491
|
+
version: "0.3.9-dev-22167447680.0",
|
|
490
492
|
description: "A lavalink@v4 client easy to use, up-to-date and all ears.",
|
|
491
493
|
main: "./dist/index.js",
|
|
492
494
|
module: "./dist/index.mjs",
|
|
493
495
|
types: "./dist/index.d.ts",
|
|
494
|
-
packageManager: "pnpm@10.
|
|
496
|
+
packageManager: "pnpm@10.30.0+sha512.2b5753de015d480eeb88f5b5b61e0051f05b4301808a82ec8b840c9d2adf7748eb352c83f5c1593ca703ff1017295bc3fdd3119abb9686efc96b9fcb18200937",
|
|
495
497
|
exports: {
|
|
496
498
|
".": {
|
|
497
499
|
types: "./dist/index.d.ts",
|
|
@@ -535,8 +537,8 @@ var package_default = {
|
|
|
535
537
|
author: "Ganyu Studios",
|
|
536
538
|
license: "MIT",
|
|
537
539
|
devDependencies: {
|
|
538
|
-
"@biomejs/biome": "^2.
|
|
539
|
-
"@types/node": "^25.
|
|
540
|
+
"@biomejs/biome": "^2.4.2",
|
|
541
|
+
"@types/node": "^25.3.0",
|
|
540
542
|
"@types/ws": "^8.18.1",
|
|
541
543
|
husky: "^9.1.7",
|
|
542
544
|
"lint-staged": "^16.2.7",
|
|
@@ -5247,10 +5249,12 @@ function createHoshimi(...args) {
|
|
|
5247
5249
|
LavalinkPluginFilter,
|
|
5248
5250
|
LoadType,
|
|
5249
5251
|
LoopMode,
|
|
5252
|
+
LyricsManager,
|
|
5250
5253
|
ManagerError,
|
|
5251
5254
|
Node,
|
|
5252
5255
|
NodeDestroyReasons,
|
|
5253
5256
|
NodeError,
|
|
5257
|
+
NodeManager,
|
|
5254
5258
|
NodeManagerError,
|
|
5255
5259
|
NodeSortTypes,
|
|
5256
5260
|
OpCodes,
|
package/dist/index.mjs
CHANGED
|
@@ -408,12 +408,12 @@ var QueueStorageAdapter = class {
|
|
|
408
408
|
// package.json
|
|
409
409
|
var package_default = {
|
|
410
410
|
name: "hoshimi",
|
|
411
|
-
version: "0.3.
|
|
411
|
+
version: "0.3.9-dev-22167447680.0",
|
|
412
412
|
description: "A lavalink@v4 client easy to use, up-to-date and all ears.",
|
|
413
413
|
main: "./dist/index.js",
|
|
414
414
|
module: "./dist/index.mjs",
|
|
415
415
|
types: "./dist/index.d.ts",
|
|
416
|
-
packageManager: "pnpm@10.
|
|
416
|
+
packageManager: "pnpm@10.30.0+sha512.2b5753de015d480eeb88f5b5b61e0051f05b4301808a82ec8b840c9d2adf7748eb352c83f5c1593ca703ff1017295bc3fdd3119abb9686efc96b9fcb18200937",
|
|
417
417
|
exports: {
|
|
418
418
|
".": {
|
|
419
419
|
types: "./dist/index.d.ts",
|
|
@@ -457,8 +457,8 @@ var package_default = {
|
|
|
457
457
|
author: "Ganyu Studios",
|
|
458
458
|
license: "MIT",
|
|
459
459
|
devDependencies: {
|
|
460
|
-
"@biomejs/biome": "^2.
|
|
461
|
-
"@types/node": "^25.
|
|
460
|
+
"@biomejs/biome": "^2.4.2",
|
|
461
|
+
"@types/node": "^25.3.0",
|
|
462
462
|
"@types/ws": "^8.18.1",
|
|
463
463
|
husky: "^9.1.7",
|
|
464
464
|
"lint-staged": "^16.2.7",
|
|
@@ -5168,10 +5168,12 @@ export {
|
|
|
5168
5168
|
LavalinkPluginFilter,
|
|
5169
5169
|
LoadType,
|
|
5170
5170
|
LoopMode,
|
|
5171
|
+
LyricsManager,
|
|
5171
5172
|
ManagerError,
|
|
5172
5173
|
Node,
|
|
5173
5174
|
NodeDestroyReasons,
|
|
5174
5175
|
NodeError,
|
|
5176
|
+
NodeManager,
|
|
5175
5177
|
NodeManagerError,
|
|
5176
5178
|
NodeSortTypes,
|
|
5177
5179
|
OpCodes,
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hoshimi",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.9-dev-22167447680.0",
|
|
4
4
|
"description": "A lavalink@v4 client easy to use, up-to-date and all ears.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
|
-
"packageManager": "pnpm@10.
|
|
8
|
+
"packageManager": "pnpm@10.30.0+sha512.2b5753de015d480eeb88f5b5b61e0051f05b4301808a82ec8b840c9d2adf7748eb352c83f5c1593ca703ff1017295bc3fdd3119abb9686efc96b9fcb18200937",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
11
|
"types": "./dist/index.d.ts",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"author": "Ganyu Studios",
|
|
50
50
|
"license": "MIT",
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@biomejs/biome": "^2.
|
|
53
|
-
"@types/node": "^25.
|
|
52
|
+
"@biomejs/biome": "^2.4.2",
|
|
53
|
+
"@types/node": "^25.3.0",
|
|
54
54
|
"@types/ws": "^8.18.1",
|
|
55
55
|
"husky": "^9.1.7",
|
|
56
56
|
"lint-staged": "^16.2.7",
|