Skip to content

Commit 8bb6057

Browse files
committed
fix prettier formatting
1 parent 7fa4a77 commit 8bb6057

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

apps/website/docs/guide/02-commands/04-message-commands.mdx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ message commands in favor of the more modern
2222

2323
Message commands, like all the other command types, live in your
2424
`src/app/commands` directory. To let CommandKit know that this is a
25-
message command, just export the `message` function from your command file.
25+
message command, just export the `message` function from your command
26+
file.
2627

2728
```ts title="src/app/commands/ping.ts"
2829
import type { CommandData, MessageCommand } from 'commandkit';
@@ -107,6 +108,11 @@ commandkit.setPrefixResolver(async (message) => {
107108

108109
:::warning
109110

110-
The `setPrefixResolver` method runs on every message, so it's important to make sure that it's as lightweight as possible. To help with performance, you may want to implement caching, which CommandKit also supports with the [`@commandkit/cache`](../05-official-plugins/03-commandkit-cache.mdx) official plugin.
111+
The `setPrefixResolver` method runs on every message, so it's
112+
important to make sure that it's as lightweight as possible. To help
113+
with performance, you may want to implement caching, which CommandKit
114+
also supports with the
115+
[`@commandkit/cache`](../05-official-plugins/03-commandkit-cache.mdx)
116+
official plugin.
111117

112-
:::
118+
:::

apps/website/docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const config: Config = {
4444
'0.1.10': {
4545
label: 'v0.1.10',
4646
path: 'v0',
47-
banner: 'unmaintained'
47+
banner: 'unmaintained',
4848
},
4949
},
5050
sidebarPath: './sidebars.ts',

0 commit comments

Comments
 (0)