Skip to content

Commit

Permalink
chore: dep update (#988)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vijay Meena (Samar) authored Mar 2, 2024
1 parent e58abe7 commit 7c7605d
Show file tree
Hide file tree
Showing 20 changed files with 1,171 additions and 1,159 deletions.
4 changes: 2 additions & 2 deletions docs/docs/discordx/decorators/general/on.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

You can use this decorator to declare methods that will be executed whenever a Discord event is triggered.

Our methods must be decorated with the `@On` or [@Once](docs/discordx/decorators/general/once) decorator.
Our methods must be decorated with the `@On` or [@Once](./once) decorator.

It's that simple, when the event is triggered, the method is called:

Expand All @@ -29,7 +29,7 @@ You also receive other useful arguments after that:

1. The event payload (`ArgsOf<"YOUR_EVENT">`)
2. The `Client` instance
3. The [guards](docs/discordx/decorators/general/guard) payload
3. The [guards](./guard) payload

> You should use JS destructuring for `ArgsOf<"YOUR_EVENT">` like in this example
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/discordx/decorators/general/once.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @Once

It's exactly the same behavior as [@On](docs/discordx/decorators/general/on) but the method is only executed once
It's exactly the same behavior as [@On](./on) but the method is only executed once

```typescript
@Discord()
Expand Down
694 changes: 348 additions & 346 deletions docs/package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"dev": "docusaurus start"
},
"dependencies": {
"@docusaurus/core": "3.0.1",
"@docusaurus/preset-classic": "3.0.1",
"@docusaurus/remark-plugin-npm2yarn": "^3.0.1",
"@docusaurus/theme-search-algolia": "^3.0.1",
"@docusaurus/core": "3.1.1",
"@docusaurus/preset-classic": "3.1.1",
"@docusaurus/remark-plugin-npm2yarn": "^3.1.1",
"@docusaurus/theme-search-algolia": "^3.1.1",
"@svgr/webpack": "^8.1.0",
"ansi-regex": "^6.0.1",
"clsx": "^2.1.0",
Expand Down
Loading

0 comments on commit 7c7605d

Please sign in to comment.