Skip to content

Commit 00e49fc

Browse files
committed
docs: update middleware run order
1 parent c88aaf6 commit 00e49fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/website/docs/guide/02-commands/08-middlewares.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ apply middleware to every command in your entire Discord bot.
311311
:::tip
312312
313313
Middleware execution (both before and after) follows a hierarchy:
314-
command-scoped middlewares run first, then directory-scoped
315-
middlewares, and finally global middlewares.
314+
global middlewares run first, then directory-scoped middlewares, and
315+
finally command-scoped middlewares.
316316
317317
:::

0 commit comments

Comments
 (0)