Skip to content

Commit a3299ff

Browse files
authored
escape <client>
1 parent 833acf3 commit a3299ff

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/content/docs/guides/other/macros.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ id: macros
2020

2121
## Syntax
2222

23-
To create a macro, use `<client>.macro()` and define a name and a code block.
23+
To create a macro, use `\<client\>.macro()` and define a name and a code block.
2424

2525
```js
26-
<client>.macro({
26+
\<client\>.macro({
2727
name: "macroName",
2828
code: `aoi.js functions`
2929
});
@@ -32,7 +32,7 @@ To create a macro, use `<client>.macro()` and define a name and a code block.
3232
You can define multiple macros at once:
3333

3434
```js
35-
<client>.macro(
35+
\<client\>.macro(
3636
{
3737
name: "logmessage",
3838
code: `$log[Hello world!]`
@@ -67,7 +67,7 @@ This will insert the code block defined in the macro at that point in your comma
6767
Defining and using multiple macros:
6868

6969
```js
70-
<client>.macro({
70+
\<client\>.macro({
7171
name: 'logmessage',
7272
code: '$log[aoi.js bot just started c:]'
7373
}, {
@@ -76,19 +76,19 @@ Defining and using multiple macros:
7676
});
7777
```
7878
```js
79-
<client>.readyCommand({
79+
\<client\>.readyCommand({
8080
code: `
8181
#logmessage
8282
$log[Starting..]
8383
`
8484
});
8585
```
8686
```js
87-
<client>.command({
87+
\<client\>.command({
8888
name: "eval",
8989
code: `
9090
$eval[$message]
9191
#onlyDevelopers
9292
`
9393
});
94-
```
94+
```

0 commit comments

Comments
 (0)