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

Commit cae39b6

Browse files
committed
chore(v12-changes): consistently use single quotes
1 parent 3647808 commit cae39b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

guide/additional-info/changes-in-v12.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ You can check your discord.js version with `npm list discord.js`. Should it stil
2626

2727
```diff
2828
- const client = new Discord.Client({ disableEveryone: true });
29-
+ const client = new Discord.Client({ disableMentions: "everyone" });
29+
+ const client = new Discord.Client({ disableMentions: 'everyone' });
3030
```
3131

3232
:::
@@ -924,7 +924,7 @@ Not sure how to set up a database? Check out [this page](/sequelize/)!
924924

925925
```diff
926926
- guild.fetchBans().then(bans => console.log(`${bans.first().tag} was banned`));
927-
+ guild.fetchBans().then(bans => console.log(`${bans.first().user.tag} was banned because "${bans.first().reason}"`));
927+
+ guild.fetchBans().then(bans => console.log(`${bans.first().user.tag} was banned because '${bans.first().reason}'`));
928928
```
929929

930930
#### Guild#fetchMember(s)
@@ -2098,7 +2098,7 @@ ClientApplication.coverImage({ width: 1024, height: 1024 });
20982098

20992099
```diff
21002100
- const client = new Discord.Client({ disableEveryone: true });
2101-
+ const client = new Discord.Client({ disableMentions: "everyone" });
2101+
+ const client = new Discord.Client({ disableMentions: 'everyone' });
21022102
```
21032103

21042104
#### ClientOptions#partials

0 commit comments

Comments
 (0)