-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
61 changed files
with
8,561 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
apps/website/i18n/zh-TW/docusaurus-plugin-content-docs/version-1.2.0/FAQ.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
sidebar_position: 4 | ||
--- | ||
|
||
# FAQ 常見問題 | ||
|
||
### 節點無法連接 | ||
如果你的節點無法連接,請檢查你的 Lavalink 節點版本 | ||
**LavaShark v1** 不支持不帶有 **REST API** 的 **Lavalink v3** 節點 | ||
僅對版本 **3.7.x** 的 Lavalink 節點兼容 | ||
|
||
|
||
### 機器人加入頻道但沒有任何聲音播出 | ||
檢查你是否註冊了 [`GuildVoiceStates`](https://discord-api-types.dev/api/discord-api-types-v10/enum/GatewayIntentBits) 的網關意圖, | ||
以及是否在 discord 的 client 上註冊 `raw` 事件。 | ||
|
||
```js | ||
client.on('raw', (packet) => client.lavashark.handleVoiceUpdate(packet)); | ||
``` |
38 changes: 38 additions & 0 deletions
38
apps/website/i18n/zh-TW/docusaurus-plugin-content-docs/version-1.2.0/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
sidebar_position: 1 | ||
--- | ||
|
||
# LavaShark | ||
|
||
使用 Node.js 構建的輕量級 Lavalink 客戶端。 | ||
|
||
### 特點 | ||
* 穩定 | ||
|
||
* 物件導向 | ||
|
||
* 快速高效 | ||
|
||
:::caution | ||
僅對支持 REST API(版本 3.7.x)的 Lavalink 節點兼容。 | ||
::: | ||
|
||
## Installation | ||
|
||
:::tip | ||
需要 Node.js 16.9 或更高版本。 | ||
* 你需要至少一個 [Lavalink 伺服器](https://github.com/lavalink-devs/Lavalink)節點才能運行。請參考「[伺服器配置](./server-config.md)」部分進行配置設置。 | ||
::: | ||
|
||
```bash | ||
$ npm install lavashark | ||
# or | ||
$ yarn add lavashark | ||
``` | ||
|
||
|
||
## 其他資源 | ||
* [Github repository](https://github.com/hmes98318/LavaShark) | ||
* [NPM page](https://www.npmjs.com/package/lavashark) | ||
* [Discord server](https://discord.gg/7rQEx7SPGr) | ||
|
Oops, something went wrong.