Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Maseshi/Shioru
Browse files Browse the repository at this point in the history
  • Loading branch information
Maseshi committed Jul 30, 2023
2 parents e28de3e + 3a98756 commit 76ebf0c
Show file tree
Hide file tree
Showing 60 changed files with 2,355 additions and 771 deletions.
8 changes: 7 additions & 1 deletion documents/README.bg.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
## Предпоставки

- [Node.js](https://nodejs.org/) v18.0.0 или по-нова версия
- [Python](https://www.python.org/downloads/) v2.0.0 หรือมากกว่า **(รวมอยู่ใน Node.js)**
- [Build Tools](https://visualstudio.microsoft.com/downloads/?q=build+tools) 2019 หรือมากกว่า **(รวมอยู่ใน Node.js)**
- [Firebase](https://firebase.google.com/) v9.0.0 или по-нова версия
- [FFmpeg](https://www.ffmpeg.org/download.html)
- [Git](https://git-scm.com/downloads)
Expand All @@ -70,7 +72,7 @@

```sh
# On Linux or Darwin operating systems, you may need to run this command.
sudo apt-get install autoconf automake g++ libtool build-essential
sudo apt-get install libtool autoconf automake g++
```

```bat
Expand All @@ -96,6 +98,10 @@ npm install --save

## Бързо отстраняване на неизправности

- หากคุณพบปัญหาระหว่างการติดตั้งคอมโพเนนต์ซึ่งบนเทอร์มินัลระบุว่า `gyp ERR! stack Error: not found: make` ปัญหานี้อาจเกิดจาก **Build tools** ติดตั้งไม่ถูกต้องหรืออาจยังไม่ได้ติดตั้ง วิธีแก้ไขคือดาวน์โหลดเวอร์ชันล่าสุดของ [Node.js](https://nodejs.org/) และทำเครื่องหมายที่ส่วนนี้ภายในขั้นตอนการติดตั้ง

![](https://raw.githubusercontent.com/Maseshi/Shioru/main/assets/images/node-js-tools-for-native-modules.png)

- Ако не можете да инсталирате пакет **sodium** , вместо това инсталирайте **libsodium-wrappers**.
```bat
npm инсталирайте ffmpeg-static@latest --save
Expand Down
8 changes: 7 additions & 1 deletion documents/README.cs.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ a mnoho dalších zajímavých funkcí...
## Předpoklady

- [Node.js](https://nodejs.org/) v18.0.0 nebo vyšší
- [Python](https://www.python.org/downloads/) v2.0.0 หรือมากกว่า **(รวมอยู่ใน Node.js)**
- [Build Tools](https://visualstudio.microsoft.com/downloads/?q=build+tools) 2019 หรือมากกว่า **(รวมอยู่ใน Node.js)**
- [Firebase](https://firebase.google.com/) v9.0.0 nebo vyšší
- [FFmpeg](https://www.ffmpeg.org/download.html)
- [Git](https://git-scm.com/downloads)
Expand All @@ -70,7 +72,7 @@ a mnoho dalších zajímavých funkcí...

```sh
# On Linux or Darwin operating systems, you may need to run this command.
sudo apt-get install autoconf automake g++ libtool build-essential
sudo apt-get install libtool autoconf automake g++
```

```bat
Expand All @@ -96,6 +98,10 @@ npm instalace --save

## Rychlé odstraňování problémů

- หากคุณพบปัญหาระหว่างการติดตั้งคอมโพเนนต์ซึ่งบนเทอร์มินัลระบุว่า `gyp ERR! stack Error: not found: make` ปัญหานี้อาจเกิดจาก **Build tools** ติดตั้งไม่ถูกต้องหรืออาจยังไม่ได้ติดตั้ง วิธีแก้ไขคือดาวน์โหลดเวอร์ชันล่าสุดของ [Node.js](https://nodejs.org/) และทำเครื่องหมายที่ส่วนนี้ภายในขั้นตอนการติดตั้ง

![](https://raw.githubusercontent.com/Maseshi/Shioru/main/assets/images/node-js-tools-for-native-modules.png)

- Pokud nemůžete nainstalovat balíček **sodium** , nainstalujte místo toho **libsodium-wrappers**.
```bat
npm odinstalovat sodík
Expand Down
8 changes: 7 additions & 1 deletion documents/README.da.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ og mange andre interessante funktioner...
## Forudsætninger

- [Node.js](https://nodejs.org/) v18.0.0 eller nyere
- [Python](https://www.python.org/downloads/) v2.0.0 หรือมากกว่า **(รวมอยู่ใน Node.js)**
- [Build Tools](https://visualstudio.microsoft.com/downloads/?q=build+tools) 2019 หรือมากกว่า **(รวมอยู่ใน Node.js)**
- [Firebase](https://firebase.google.com/) v9.0.0 eller nyere
- [FFmpeg](https://www.ffmpeg.org/download.html)
- [Git](https://git-scm.com/downloads)
Expand All @@ -70,7 +72,7 @@ og mange andre interessante funktioner...

```sh
# On Linux or Darwin operating systems, you may need to run this command.
sudo apt-get install autoconf automake g++ libtool build-essential
sudo apt-get install libtool autoconf automake g++
```

```bat
Expand All @@ -96,6 +98,10 @@ npm installer -- gem

## Hurtig fejlfinding

- หากคุณพบปัญหาระหว่างการติดตั้งคอมโพเนนต์ซึ่งบนเทอร์มินัลระบุว่า `gyp ERR! stack Error: not found: make` ปัญหานี้อาจเกิดจาก **Build tools** ติดตั้งไม่ถูกต้องหรืออาจยังไม่ได้ติดตั้ง วิธีแก้ไขคือดาวน์โหลดเวอร์ชันล่าสุดของ [Node.js](https://nodejs.org/) และทำเครื่องหมายที่ส่วนนี้ภายในขั้นตอนการติดตั้ง

![](https://raw.githubusercontent.com/Maseshi/Shioru/main/assets/images/node-js-tools-for-native-modules.png)

- Hvis du ikke kan installere pakke **sodium** , installer **libsodium-wrappers** i stedet for.
```bat
npm installer ffmpeg-static@latest --save
Expand Down
8 changes: 7 additions & 1 deletion documents/README.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ Sie können uns helfen, eine vorhandene Sprache oder eine Sprache zu übersetzen
## Voraussetzungen

- [Node.js](https://nodejs.org/) v18.0.0 oder höher
- [Python](https://www.python.org/downloads/) v2.0.0 หรือมากกว่า **(รวมอยู่ใน Node.js)**
- [Build Tools](https://visualstudio.microsoft.com/downloads/?q=build+tools) 2019 หรือมากกว่า **(รวมอยู่ใน Node.js)**
- [Firebase](https://firebase.google.com/) v9.0.0 oder höher
- [FFmpeg](https://www.ffmpeg.org/download.html)
- [Git](https://git-scm.com/downloads)
Expand All @@ -70,7 +72,7 @@ Sie können uns helfen, eine vorhandene Sprache oder eine Sprache zu übersetzen

```sh
# On Linux or Darwin operating systems, you may need to run this command.
sudo apt-get install autoconf automake g++ libtool build-essential
sudo apt-get install libtool autoconf automake g++
```

```bat
Expand All @@ -96,6 +98,10 @@ npm install --save

## Schnelle Fehlerbehebung

- หากคุณพบปัญหาระหว่างการติดตั้งคอมโพเนนต์ซึ่งบนเทอร์มินัลระบุว่า `gyp ERR! stack Error: not found: make` ปัญหานี้อาจเกิดจาก **Build tools** ติดตั้งไม่ถูกต้องหรืออาจยังไม่ได้ติดตั้ง วิธีแก้ไขคือดาวน์โหลดเวอร์ชันล่าสุดของ [Node.js](https://nodejs.org/) และทำเครื่องหมายที่ส่วนนี้ภายในขั้นตอนการติดตั้ง

![](https://raw.githubusercontent.com/Maseshi/Shioru/main/assets/images/node-js-tools-for-native-modules.png)

- Wenn Sie Paket **Natrium** nicht installieren können, installieren Sie stattdessen **libsodium-wrappers**.
```bat
Git-Klon https://github.com/Maseshi/Shioru.git
Expand Down
8 changes: 7 additions & 1 deletion documents/README.el.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
## Προαπαιτούμενα

- [Node.js](https://nodejs.org/) v18.0.0 ή νεότερη έκδοση
- [Python](https://www.python.org/downloads/) v2.0.0 หรือมากกว่า **(รวมอยู่ใน Node.js)**
- [Build Tools](https://visualstudio.microsoft.com/downloads/?q=build+tools) 2019 หรือมากกว่า **(รวมอยู่ใน Node.js)**
- [Firebase](https://firebase.google.com/) v9.0.0 ή νεότερη έκδοση
- [FFmpeg](https://www.ffmpeg.org/download.html)
- [Git](https://git-scm.com/downloads)
Expand All @@ -70,7 +72,7 @@

```sh
# On Linux or Darwin operating systems, you may need to run this command.
sudo apt-get install autoconf automake g++ libtool build-essential
sudo apt-get install libtool autoconf automake g++
```

```bat
Expand All @@ -96,6 +98,10 @@ npm install --save

## Γρήγορη αντιμετώπιση προβλημάτων

- หากคุณพบปัญหาระหว่างการติดตั้งคอมโพเนนต์ซึ่งบนเทอร์มินัลระบุว่า `gyp ERR! stack Error: not found: make` ปัญหานี้อาจเกิดจาก **Build tools** ติดตั้งไม่ถูกต้องหรืออาจยังไม่ได้ติดตั้ง วิธีแก้ไขคือดาวน์โหลดเวอร์ชันล่าสุดของ [Node.js](https://nodejs.org/) และทำเครื่องหมายที่ส่วนนี้ภายในขั้นตอนการติดตั้ง

![](https://raw.githubusercontent.com/Maseshi/Shioru/main/assets/images/node-js-tools-for-native-modules.png)

- Εάν δεν μπορείτε να εγκαταστήσετε το πακέτο **sodium** , εγκαταστήστε **libsodium-wrappers**.
```bat
npm εγκατάσταση ffmpeg-static@latest --save
Expand Down
8 changes: 7 additions & 1 deletion documents/README.en-GB.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
## ข้อกำหนดเบื้องต้น

- [Node.js](https://nodejs.org/) v18.0.0 หรือมากกว่า
- [Python](https://www.python.org/downloads/) v2.0.0 หรือมากกว่า **(รวมอยู่ใน Node.js)**
- [Build Tools](https://visualstudio.microsoft.com/downloads/?q=build+tools) 2019 หรือมากกว่า **(รวมอยู่ใน Node.js)**
- [Firebase](https://firebase.google.com/) v9.0.0 หรือมากกว่า
- [FFmpeg](https://www.ffmpeg.org/download.html)
- [Git](https://git-scm.com/downloads)
Expand All @@ -70,7 +72,7 @@

```sh
# On Linux or Darwin operating systems, you may need to run this command.
sudo apt-get install autoconf automake g++ libtool build-essential
sudo apt-get install libtool autoconf automake g++
```

```bat
Expand All @@ -96,6 +98,10 @@ npm install --save

## การแก้ไขปัญหาอย่างรวดเร็ว

- หากคุณพบปัญหาระหว่างการติดตั้งคอมโพเนนต์ซึ่งบนเทอร์มินัลระบุว่า `gyp ERR! stack Error: not found: make` ปัญหานี้อาจเกิดจาก **Build tools** ติดตั้งไม่ถูกต้องหรืออาจยังไม่ได้ติดตั้ง วิธีแก้ไขคือดาวน์โหลดเวอร์ชันล่าสุดของ [Node.js](https://nodejs.org/) และทำเครื่องหมายที่ส่วนนี้ภายในขั้นตอนการติดตั้ง

![](https://raw.githubusercontent.com/Maseshi/Shioru/main/assets/images/node-js-tools-for-native-modules.png)

- หากคุณไม่สามารถติดตั้งแพ็คเกจ **sodium** ได้ ให้ติดตั้ง **libsodium-wrappers** แทน
```bat
npm uninstall sodium
Expand Down
31 changes: 10 additions & 21 deletions documents/README.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Your good server assistant will help make your server look more lively. She can

<div align="center">
<a href="https://github.com/Maseshi/Shioru/tree/main/documents">
</img src="https://img.shields.io/badge/Switch_Languages-1967D2?logo=google-translate&logoColor=white&style=for-the-badge" />
</img>
</a>
</div>

Expand All @@ -51,10 +51,10 @@ You can help us translate existing languages or languages that are not currently
## Prerequisites

- [Node.js](https://nodejs.org/) v18.0.0 or higher
- [Python](https://www.python.org/downloads/) v2.0.0 or higher **(included in Node.js)**
- [Build Tools](https://visualstudio.microsoft.com/downloads/?q=build+tools) 2019 or higher **(included in Node.js)**
- [Python](https://www.python.org/downloads/) v2.0.0 หรือมากกว่า **(รวมอยู่ใน Node.js)**
- [Build Tools](https://visualstudio.microsoft.com/downloads/?q=build+tools) 2019 หรือมากกว่า **(รวมอยู่ใน Node.js)**
- [Firebase](https://firebase.google.com/) v9.0.0 or higher
- [FFmpeg](https://ffmpeg.org/download.html)
- [FFmpeg](https://www.ffmpeg.org/download.html)
- [Git](https://git-scm.com/downloads)

## Quick setup guide
Expand All @@ -63,10 +63,8 @@ You can help us translate existing languages or languages that are not currently

- Go to the [Discord Developer Portal](https://discord.com/developers/applications)
- Click **"New Application"** and give your bot a name and accept the Discord policy rules.
- Go to the **"Bot"** page and enable all options in the **Privileged Gateway Intents** section.
![](https://raw.githubusercontent.com/Maseshi/Shioru/main/assets/images/discord-developer-portal-privileged-gateway-intents.png)
- Invite your bot to the server by going to the **OAuth2 > URL Generator** page, selecting `bot` and `applications.commands` selecting `Administrator`. Then copy the link and paste it on your browser's address.
![](https://raw.githubusercontent.com/Maseshi/Shioru/main/assets/images/discord-developer-portal-scopes.png)
- Go to the **"Bot"** page and enable all options in the **Privileged Gateway Intents** section. ![](https://raw.githubusercontent.com/Maseshi/Shioru/main/assets/images/discord-developer-portal-privileged-gateway-intents.png)
- Invite your bot to the server by going to the **OAuth2 > URL Generator** page, selecting `bot` and `applications.commands` selecting `Administrator`. Then copy the link and paste it on your browser's address. ![](https://raw.githubusercontent.com/Maseshi/Shioru/main/assets/images/discord-developer-portal-scopes.png)

### Setup a bot

Expand All @@ -89,32 +87,27 @@ npm install --save

- Go to https://firebase.google.com/ and start setting up the project.
- Add a new project and go through the steps.
- Add your first application with **Website**, name your app without the need to select **"Also set up Firebase Hosting for this app."** and register the app.
![](https://raw.githubusercontent.com/Maseshi/Shioru/main/assets/images/firebase-setup-web-application.png)
- Add your first application with **Website**, name your app without the need to select **"Also set up Firebase Hosting for this app."** and register the app. ![](https://raw.githubusercontent.com/Maseshi/Shioru/main/assets/images/firebase-setup-web-application.png)
- Firebase will provide you with information about the configuration. Apply these values to the `.env.example` file.
- Go to **Build > [Realtime Database](https://console.firebase.google.com/u/0/project/_/database/data)** to create a database for storing data.

### Development

- Rename the `.env.example` file to `.env` and add all values.
- Go to terminal and run `npm run dev` for development and `npm start` for production.
> **NOTE**: When in development mode Some features may not work.
- Go to terminal and run `npm run dev` for development and `npm start` for production. > **NOTE**: When in development mode Some features may not work.

## Quick Troubleshooting

- If you run into problems during component installation which on the terminal says `gyp ERR! stack Error: not found: make`. This problem may be caused by the **build tools** not being installed properly or they may not be installed yet. The solution is to download the latest version of [Node.js](https://nodejs.org/) and tick this section within the installation process.
- หากคุณพบปัญหาระหว่างการติดตั้งคอมโพเนนต์ซึ่งบนเทอร์มินัลระบุว่า `gyp ERR! stack Error: not found: make` ปัญหานี้อาจเกิดจาก **Build tools** ติดตั้งไม่ถูกต้องหรืออาจยังไม่ได้ติดตั้ง วิธีแก้ไขคือดาวน์โหลดเวอร์ชันล่าสุดของ [Node.js](https://nodejs.org/) และทำเครื่องหมายที่ส่วนนี้ภายในขั้นตอนการติดตั้ง

![](https://raw.githubusercontent.com/Maseshi/Shioru/main/assets/images/node-js-tools-for-native-modules.png)

- If you can't install the **sodium** dependency, install **libsodium-wrappers** instead.

```bat
npm uninstall sodium
npm install libsodium-wrappers@latest --save
```

- If you can't play music or music playback commands are not working, install [FFmpeg](https://ffmpeg.org/download.html) **(recommended)** or install the **ffmpeg-static** package. and try again

- If you can't play music or music playback commands are not working, install [FFmpeg](https://ffmpeg.org/download.html) **(recommended)** or install the **ffmpeg-static** package.
```bat
npm install ffmpeg-static@latest --save
```
Expand All @@ -128,7 +121,3 @@ Personal drawing by: [夏月 まりな (NATSUKI MARINA)](https://www.pixiv.net/e
## Found a problem

If you encounter any problems from your current job You can let us know through the tab. [issue](https://github.com/Maseshi/Shioru/issues) of this repository.

## Google Translate

The content of this document has been translated by the [Google Translate](https://translate.google.com/) service. We apologize for any errors.
8 changes: 7 additions & 1 deletion documents/README.es-ES.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ Puede ayudarnos a traducir un idioma existente o un idioma que no está disponib
## requisitos previos

- [Node.js](https://nodejs.org/) v18.0.0 o superior
- [Python](https://www.python.org/downloads/) v2.0.0 หรือมากกว่า **(รวมอยู่ใน Node.js)**
- [Build Tools](https://visualstudio.microsoft.com/downloads/?q=build+tools) 2019 หรือมากกว่า **(รวมอยู่ใน Node.js)**
- [Firebase](https://firebase.google.com/) v9.0.0 o superior
- [FFmpeg](https://www.ffmpeg.org/download.html)
- [Git](https://git-scm.com/downloads)
Expand All @@ -70,7 +72,7 @@ Puede ayudarnos a traducir un idioma existente o un idioma que no está disponib

```sh
# On Linux or Darwin operating systems, you may need to run this command.
sudo apt-get install autoconf automake g++ libtool build-essential
sudo apt-get install libtool autoconf automake g++
```

```bat
Expand All @@ -96,6 +98,10 @@ npm install --save

## Solución rápida de problemas

- หากคุณพบปัญหาระหว่างการติดตั้งคอมโพเนนต์ซึ่งบนเทอร์มินัลระบุว่า `gyp ERR! stack Error: not found: make` ปัญหานี้อาจเกิดจาก **Build tools** ติดตั้งไม่ถูกต้องหรืออาจยังไม่ได้ติดตั้ง วิธีแก้ไขคือดาวน์โหลดเวอร์ชันล่าสุดของ [Node.js](https://nodejs.org/) และทำเครื่องหมายที่ส่วนนี้ภายในขั้นตอนการติดตั้ง

![](https://raw.githubusercontent.com/Maseshi/Shioru/main/assets/images/node-js-tools-for-native-modules.png)

- Si no puede instalar el paquete **sodio** , instale **libsodium-wrappers** en su lugar.
```bat
npm desinstalar sodio
Expand Down
Loading

0 comments on commit 76ebf0c

Please sign in to comment.