Skip to content
Proyectos

Acerca de

🧸 (Discord) Your personal assistant that will make your discord never lonely again.

Diseño y multimedia

Cómo se miden estas cifras

What you can do

  • Worked on Discord.js v14
  • Easy to read, easy to use and highly effective
  • You can customize many things you want
  • Contains all commands including 100+ available subcommands

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original
Shioru

Shioru

Personal assistants in Discord that will help make your guild a better place.

Discord.js v14 Last commit Status
Crowdin CodeFactor Top.gg

Add App · Switch Languages · Status · Improve Translation · Rate It

Your best personal assistants will help your guild look more lively. She can do so many things that you can easily see detailed information on all commands by typing /help.

✨ Outstanding features

  • Worked on Discord.js v14
  • Easy to read, easy to use and highly effective
  • You can customize many things you want
  • Contains all commands including 100+ available subcommands
  • Can play music both from YouTube, Spotify, SoundCloud and 900+ more Website along with an automatic music playback system
  • Supports multiple languages. You can check the supported languages ​​from the Language File of this repository.
  • Tier system (Level and experience)
  • Support for customizing server notifications
  • You can talk by typing @Shioru followed by the message you want to communicate
  • Supports working on Shards or supports working in various guilds
  • You can use application commands (/)
  • Simulate the database system for testing.

And many other interesting features...

🧩 Prerequisites

⌛ Installation

1. Clone the bot and install the components.

  • Launch a terminal and run the following command.
    git clone https://github.com/Maseshi/Shioru.git
    cd Shioru
    npm install
    
  • Change the file name .env.example to .env and enter all required values.

[!NOTE] You can edit some data in config at ./source/configs/data.js.

2. Setup bot and invite to join.

  • Go to Discord Developer Portal
  • Click "New Application" and name your bot and accept the Discord policy rules.
  • Go to the "Bot" page and enable all options in the Privileged Gateway Intent section.
  • 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 in the browser address bar. Your sir

3. Setup database

  • Go to https://firebase.google.com/ and start setting up the project.
  • Add a new project and follow the steps.
  • Add your first application with Website Name your app without needing to select the "Also set up Firebase Hosting for this app." option and register the app.
  • Firebase will provide you with information about its configuration. Apply these values to the file. .env
  • Go to Build > Realtime Database to create a database for storing data.
  • Enable the Email/Password provider in Firebase Authentication and create a dedicated account for the bot.
  • Add that account's UID at /access/<uid> with the boolean value true in Realtime Database, then set AUTH_EMAIL and AUTH_PASSWORD in .env. Add dashboard user UIDs to /access as well.
  • Firebase traffic metrics are logged locally every five minutes by default. Set METRICS_LABEL (for example, before-cache or after-cache) and compare equal-duration windows with similar workloads. Payload byte counts are estimates and do not include protocol overhead.

🔥 Get started

There are several options available. If you are using Visual Studio Code, you can choose your method directly via the Run and Debug tab (Ctrl + Shift + D). For other operations, see Tasks (Ctrl + Shift + B and Ctrl + Shift + P type >Tasks: Run Task)

🪛 Development

  • Open a terminal and run the command npm run dev.

☕ Serve

Test the actual use by performing tasks similar to real use. The system will automatically calculate the split of the work fraction according to the number of guilds.

  • Open the terminal and add all the necessary environmental variables.
    • For Windows, use commands set variable=example
    • For Linux or MacOS, use the command export variable=example
  • Run the command npm run serve.

[!NOTE] You will enter automatic development mode because it is a real use. All data will not be recorded.

🍵 Production

For actual use, the prepared command or set of commands can be used normally as follows:

  • On Linux or MacOS

    sh start.sh || sudo sh start.sh
    
    # or
    
    npm run start
    
  • On Windows

    ./start.bat
    
    @REM or
    
    npm run start
    

🐳 Running on Docker

This operation requires Docker

  • Copy .env.example to .env and replace the placeholders with your configuration.
  • Build and start the bot with npm run docker:up.
  • Follow its output with npm run docker:logs.
  • Stop and remove the container with npm run docker:down.

The health endpoint is available locally at http://127.0.0.1:3000/health by default. Set SHIORU_PORT in .env to use another host port.

Learn more about commands Docker

🌐 Improve Translate

You can help us translate existing languages or languages that are not currently available on Crowdin.

⚠️ Found a problem

If you encounter any problems from your current job You can let us know through the tab. issue of this repository.

Explorar proyectos relacionados

Cargando…