Skip to content
This repository was archived by the owner on Jul 19, 2021. It is now read-only.

Commit d0baaec

Browse files
author
Ian Woo
committed
changed warning to be outside of branch tag and added link to refrenced page
1 parent 7d64bff commit d0baaec

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

guide/popular-topics/common-questions.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ const id = args[0];
4444
<guild>.unban(id);
4545
```
4646

47-
::: warning
48-
Because we cannot ping a user who isn't in the server, we have to pass in the user id. To do this, we use arguments, represented by `args` (see "Commands with user input").
49-
:::
50-
5147
</branch>
5248
<branch version="12.x">
5349

@@ -58,12 +54,12 @@ const id = args[0];
5854
<guild>.members.unban(id);
5955
```
6056

57+
</branch>
58+
6159
::: warning
62-
Because we cannot ping a user who isn't in the server, we have to pass in the user id. To do this we use arguments, which is represented by `args` (see "Commands with user input").
60+
Because we cannot ping a user who isn't in the server, we have to pass in the user id. To do this, we use arguments, represented by `args` (see [Commands with user input](/creating-your-bot/commands-with-user-input/)).
6361
:::
6462

65-
</branch>
66-
6763
### How do I kick a user?
6864

6965
<!-- eslint-skip -->

0 commit comments

Comments
 (0)