Skip to content

Commit

Permalink
fix(popular-topics): Replace .cache.get() with .fetch() (discordj…
Browse files Browse the repository at this point in the history
…s#970)

Co-authored-by: Wise2006 <[email protected]>
  • Loading branch information
WiseDevHelper and WiseDevHelper authored Dec 24, 2021
1 parent b050b65 commit b02bf40
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion guide/popular-topics/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,10 @@ channel.send('content');
### How do I DM a specific user?
<!-- eslint-skip -->
```js
const user = client.users.cache.get('id');
const user = await client.users.fetch('id');
user.send('content');
```
Expand Down

0 comments on commit b02bf40

Please sign in to comment.