Skip to content

Commit

Permalink
fix(popular-topics): replace deprecated underscore with underline (
Browse files Browse the repository at this point in the history
  • Loading branch information
sdanialraza authored and omar-sobhy committed May 22, 2024
1 parent d6676dc commit 70cdde9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guide/popular-topics/formatters.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ discord.js provides the <DocsLink section="formatters" /> package which contains
These functions format strings into all the different Markdown styles supported by Discord.

```js
const { bold, italic, strikethrough, underscore, spoiler, quote, blockQuote } = require('discord.js');
const { blockQuote, bold, italic, quote, spoiler, strikethrough, underline } = require('discord.js');
const string = 'Hello!';

const boldString = bold(string);
const italicString = italic(string);
const strikethroughString = strikethrough(string);
const underscoreString = underscore(string);
const underlineString = underline(string);
const spoilerString = spoiler(string);
const quoteString = quote(string);
const blockquoteString = blockQuote(string);
Expand Down

0 comments on commit 70cdde9

Please sign in to comment.