Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rhidium/rhidium
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.3
Choose a base ref
...
head repository: rhidium/rhidium
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v.2.0.4
Choose a head ref
  • 20 commits
  • 19 files changed
  • 3 contributors

Commits on Feb 13, 2023

  1. Bump eslint from 8.33.0 to 8.34.0

    Bumps [eslint](https://github.com/eslint/eslint) from 8.33.0 to 8.34.0.
    - [Release notes](https://github.com/eslint/eslint/releases)
    - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
    - [Commits](eslint/eslint@v8.33.0...v8.34.0)
    
    ---
    updated-dependencies:
    - dependency-name: eslint
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Feb 13, 2023
    Copy the full SHA
    66ae0d5 View commit details
  2. Merge pull request #95 from Mirasaki/dependabot/npm_and_yarn/eslint-8…

    ….34.0
    
    Bump eslint from 8.33.0 to 8.34.0
    Mirasaki authored Feb 13, 2023
    Copy the full SHA
    d49d44d View commit details

Commits on Feb 16, 2023

  1. build(deps-dev): bump jsdoc from 4.0.0 to 4.0.1

    Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 4.0.0 to 4.0.1.
    - [Release notes](https://github.com/jsdoc/jsdoc/releases)
    - [Changelog](https://github.com/jsdoc/jsdoc/blob/4.0.1/CHANGES.md)
    - [Commits](jsdoc/jsdoc@4.0.0...4.0.1)
    
    ---
    updated-dependencies:
    - dependency-name: jsdoc
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Feb 16, 2023
    Copy the full SHA
    74b1385 View commit details
  2. build(deps): bump undici from 5.13.0 to 5.19.1

    Bumps [undici](https://github.com/nodejs/undici) from 5.13.0 to 5.19.1.
    - [Release notes](https://github.com/nodejs/undici/releases)
    - [Commits](nodejs/undici@v5.13.0...v5.19.1)
    
    ---
    updated-dependencies:
    - dependency-name: undici
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Feb 16, 2023
    Copy the full SHA
    a2b8c75 View commit details

Commits on Feb 18, 2023

  1. Merge pull request #97 from Mirasaki/dependabot/npm_and_yarn/undici-5…

    ….19.1
    
    build(deps): bump undici from 5.13.0 to 5.19.1
    Mirasaki authored Feb 18, 2023
    Copy the full SHA
    9642363 View commit details
  2. Merge pull request #96 from Mirasaki/dependabot/npm_and_yarn/jsdoc-4.0.1

    build(deps-dev): bump jsdoc from 4.0.0 to 4.0.1
    Mirasaki authored Feb 18, 2023
    Copy the full SHA
    da71b1c View commit details

Commits on Feb 21, 2023

  1. update examples/tutorials

    Mirasaki committed Feb 21, 2023
    Copy the full SHA
    0100537 View commit details
  2. remove public folder

    Mirasaki committed Feb 21, 2023
    Copy the full SHA
    86f89ed View commit details
  3. remove html handler

    Mirasaki committed Feb 21, 2023
    Copy the full SHA
    83e6aaa View commit details
  4. Copy the full SHA
    4bcc61c View commit details
  5. Copy the full SHA
    1f6ffcb View commit details
  6. Copy the full SHA
    357b1a9 View commit details
  7. add USE_API

    Mirasaki committed Feb 21, 2023
    Copy the full SHA
    552d1f9 View commit details
  8. Copy the full SHA
    8c3cb9c View commit details
  9. Copy the full SHA
    9b72cb8 View commit details
  10. Copy the full SHA
    f911574 View commit details
  11. Copy the full SHA
    e3e8c43 View commit details
  12. Merge pull request #100 from Mirasaki/dev

    Minimize backend/API dependency
    Mirasaki authored Feb 21, 2023
    Copy the full SHA
    0734317 View commit details
  13. bump version

    Mirasaki committed Feb 21, 2023
    Copy the full SHA
    fe14b53 View commit details
  14. Merge pull request #101 from Mirasaki/dev

    bump version
    Mirasaki authored Feb 21, 2023
    Copy the full SHA
    45f12d4 View commit details
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ REFRESH_SLASH_COMMAND_API_DATA=true
CLEAR_SLASH_COMMAND_API_DATA=false

# ------------------------- API / Server ------------------------- #
CLIENT_URL=djs.mirasaki.dev
USE_API=false
PORT=3000

# ------------------------- File Paths ------------------------- #
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -115,9 +115,6 @@ src/commands/testing
# Documentation: JSDoc
/docs

# Our generated command table
/public/html/commands.html

# Personal TODO file
TODO.md

5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -43,7 +43,6 @@ Come try the template yourself in our official [support server](https://discord.
- The API is documented at [djs.mirasaki.dev/api-docs](https://djs.mirasaki.dev/api-docs "Backend/API Documentation")
- Source code is well documented with comments, explaining what's going on
- With the use of JSDoc for client documentation, enjoy code-completion (IntelliSense) in your favorite code editor
- This template generates a static HTML page with detailed command information ([example](https://djs.mirasaki.dev/html/commands.html "Example of generated HTML command table"))

<h2 id="features">Features</h2>

@@ -79,7 +78,7 @@ Every file in [the `listeners` folder](/src/listeners/) will be registered as an

<h3 id="restful-api">RESTful API</h3>

This template comes with a REST API (OpenAPI spec 3.0.0). By default, this only serves the client's command data, which can be used to easily fetch your command data and build a dynamic command table/overview on your personal website. As this project is meant to be newbie-friendly, I thought I would include a **very** basic API template, so new developers are free to play around with it without having to set-up anything themselves. But, of course, you can just remove the `/backend` folder, `npm remove` unused dependencies and just use `npm run client` as the bot/client is completely standalone from the API. It's optional.
This template comes with a REST API (OpenAPI spec 3.0.0). By default, this only serves the client's command data, which can be used to easily fetch your command data and build a dynamic command table/overview on your personal website. As this project is meant to be newbie-friendly, I thought I would include a **very** basic API template, so new developers are free to play around with it without having to set-up anything themselves. Change `USE_API` to `true` in the [env file](/.env.example) to enable this feature.

<h3 id="others">Others</h3>

@@ -95,7 +94,7 @@ This template comes with a REST API (OpenAPI spec 3.0.0). By default, this only
- Don't like the folder structure? Jump into the [environmental file](/.env.example) and configure where your commands and components are loaded from
- Every embed color code and emoji are grabbed from their respective [configuration file](/src/config/), meaning you can personalize the bot without having to go over a plethora of files
- Comes with a [constants file](/src/constants.js) to manage your unique ids and previously hard-coded values
- Comes with example scripts for `pm2`, `docker` and `concurrently`
- Comes with example scripts for `pm2` and `docker`
- And lastly...

You don't **have** to use the built-in component command (buttons, modals, etc) handler. Alternatively, you can use the following (vanilla `discord.js`) code to achieve the same, but within a ChatInput/UserContextMenu/MessageContextMenu command file:
304 changes: 0 additions & 304 deletions backend/docs/commands.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions backend/middleware/cors.js

This file was deleted.

21 changes: 0 additions & 21 deletions backend/middleware/errorMiddleware.js

This file was deleted.

Loading