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.1
Choose a base ref
...
head repository: rhidium/rhidium
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.2
Choose a head ref
Loading
Showing with 579 additions and 669 deletions.
  1. +1 −1 README.md
  2. +507 −630 package-lock.json
  3. +13 −13 package.json
  4. +16 −4 src/classes/Commands.js
  5. +41 −3 src/handlers/commands.js
  6. +1 −18 src/listeners/interaction/interactionCreate.js
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -73,7 +73,7 @@ Come try the template yourself in our official [support server](https://discord.
5. [`/eval` modal-integration](/src/interactions/modals/evalSubmit.js) - Manage modals, we have unique identifier declared in our [constants file](/src/constants.js) to make sure we use the same `customId` field across all components and different files. Not required, but strongly recommended.
6. [`/help` select-menu-integration](/src/interactions/select-menus/help.js) - Integrating seamlessly with the code in our main [`/help` command](/src/commands/system/help.js)

<h3 id="dynamic-event-handler">Dynamic Event Handler<h3>
<h3 id="dynamic-event-handler">Dynamic Event Handler</h3>

Every file in [the `listeners` folder](/src/listeners/) will be registered as an event listener where the file name without extension is the name of the event. Creating a file named `messageCreate.js` will listen to the `messageCreate` event, achieving the same as using `client.on()`. It listens for events, not much more to say about it.

Loading