refactor: Use description constant in landing page (#9334)

This commit is contained in:
Jiralite
2023-04-07 12:12:48 +01:00
committed by GitHub
parent 3615e2f2d2
commit e3e7d500dc
2 changed files with 3 additions and 7 deletions

View File

@@ -17,7 +17,7 @@ export const N_RECENT_VERSIONS = 2;
export const OVERLOAD_SEPARATOR = ':';
export const DESCRIPTION =
"discord.js is a powerful node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend.";
"discord.js is a powerful Node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend.";
export const CODE_EXAMPLE = `import { Client, GatewayIntentBits } from 'discord.js';