Skip to content

Commit f34b146

Browse files
committed
document @commandkit/analytics
1 parent 15f7a4d commit f34b146

File tree

3 files changed

+400
-8
lines changed

3 files changed

+400
-8
lines changed

apps/website/docs/guide/02-commands/05-after-function.mdx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
title: after Function
33
---
44

5-
The `after` function allows you to execute a callback after a command
6-
has been executed. This is useful for performing actions that should
7-
occur after the command has completed, such as logging or cleanup
8-
tasks.
5+
The `after()` function allows you to execute a callback after a
6+
command has been executed. This is useful for performing actions that
7+
should occur after the command has completed, such as logging or
8+
cleanup tasks.
99

1010
## Usage
1111

@@ -33,8 +33,7 @@ export const chatInput: ChatInputCommand = async (ctx) => {
3333

3434
:::info
3535

36-
The `after` function is guaranteed to be called after the command has
37-
been executed, regardless of whether the command was successful or
38-
not.
36+
The `after()` function will always be called, regardless of whether
37+
the command execution was successful or not.
3938

4039
:::

apps/website/docs/guide/03-events/03-stopevents-function.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: stopEvents function
2+
title: stopEvents Function
33
---
44

55
The `stopEvents()` function is a utility function that allows you to

0 commit comments

Comments
 (0)