Skip to content

Commit

Permalink
Update v3 to v4 in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
MikuroXina committed Nov 11, 2023
1 parent ef7e889 commit cda1daf
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ OreOreBot2 では以下のような Issue を提出することができます
リポジトリ画面の右上にある "Fork" から自分のアカウントにクローンしてください。

> **Note**
>
>
> approversのメンバーはクローンする必要はありません。
2. ローカルにクローンする
Expand Down Expand Up @@ -168,7 +168,7 @@ OreOreBot2 (@oreorebot2/common)
- Git
- FFmpeg ([音楽再生系の機能](#音楽再生系の機能)で必要です)
- Node.js v18.x 以上
- Yarn v3
- Yarn v4

#### コーディング規約

Expand Down Expand Up @@ -341,7 +341,7 @@ it('use case of hukueki', async () => {

- Git
- Node.js v18.x 以上
- Yarn v3
- Yarn v4

#### コーディング規約

Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ dist
next-env.d.ts


# yarn v3
# yarn v4
.yarn/*
docs/.yarn/*
!.yarn/patches
Expand Down
16 changes: 8 additions & 8 deletions packages/bot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@ Discord Bot 本体を提供するパッケージ。
- git
- ffmpeg
- Node.js v18.x 以上
- yarn v3
- yarn v4

## 環境変数

デフォルト値が無い変数は指定する必要があり、指定しなかった場合は起動に失敗します。

起動時にデフォルト値が存在する変数の値が指定されていない場合は、そのデフォルト値が使われます。

| 変数名 | 説明 | 必須 |
| ----------------- |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| ----- |
| `DISCORD_TOKEN` | BOT のトークン | True |
| `MAIN_CHANNEL_ID` | VoiceDiff(VC 入退室ログ)を送信する **テキスト** チャンネルの ID | True |
| `APPLICATION_ID` | BOT のアプリケーション ID | True |
| `GUILD_ID` | 限界開発鯖の ID | True |
| `PREFIX` | コマンドの接頭辞、デフォルト値は `"!"` | False |
| 変数名 | 説明 | 必須 |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----- |
| `DISCORD_TOKEN` | BOT のトークン | True |
| `MAIN_CHANNEL_ID` | VoiceDiff(VC 入退室ログ)を送信する **テキスト** チャンネルの ID | True |
| `APPLICATION_ID` | BOT のアプリケーション ID | True |
| `GUILD_ID` | 限界開発鯖の ID | True |
| `PREFIX` | コマンドの接頭辞、デフォルト値は `"!"` | False |
| `FEATURE` | 有効にする機能のカンマ区切り文字列、デフォルト値はスラッシュコマンドを除く全ての機能。`"MESSAGE_CREATE"`, `"MESSAGE_UPDATE"`, `"COMMAND"`, `"VOICE_ROOM"`, `"ROLE"`, `"EMOJI"`, `"SLASH_COMMAND"`, `"MEMBER"` を組み合わせ可能。 | False |

## インストール
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ OreOreBot2 のドキュメントを提供するパッケージ。
## 必要動作環境

- [Node.js](https://nodejs.org/) v18.x 以上
- [Yarn](https://yarnpkg.com/) v3
- [Yarn](https://yarnpkg.com/) v4

## 開発環境の使用方法

Expand Down
2 changes: 1 addition & 1 deletion packages/docs/src/pages/development/running/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Callout } from 'nextra-theme-docs';
はらちょを実行するには以下の環境が必要です。

- [Node.js](https://nodejs.org/ja/) (v16.x, v18.x)
- [Yarn v3](https://yarnpkg.com/getting-started/install)
- [Yarn v4](https://yarnpkg.com/getting-started/install)

追加の機能を使用するには以下のソフトウェアが必要です。

Expand Down
2 changes: 1 addition & 1 deletion packages/docs/src/pages/development/running/local.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ yarn

<Callout type="warning">

OreOreBot2 は Yarn v3 を使用しています。
OreOreBot2 は Yarn v4 を使用しています。

使用している Yarn のバージョンが低すぎるとエラーが発生する可能性があります。

Expand Down

0 comments on commit cda1daf

Please sign in to comment.