refactor: docs (#10126)

This commit is contained in:
Noel
2024-02-29 04:37:52 +01:00
committed by GitHub
parent 0f9017ef95
commit 18cce83d80
192 changed files with 8116 additions and 6321 deletions

View File

@@ -1,26 +1,17 @@
export const PACKAGES = [
'discord.js',
'brokers',
'builders',
'collection',
'core',
'formatters',
'next',
'proxy',
'rest',
'util',
'voice',
'ws',
{ name: 'discord.js' },
{ name: 'brokers' },
{ name: 'builders' },
{ name: 'collection' },
{ name: 'core' },
{ name: 'formatters' },
{ name: 'next' },
{ name: 'proxy' },
{ name: 'rest' },
{ name: 'util' },
{ name: 'voice' },
{ name: 'ws' },
];
export const N_RECENT_VERSIONS = 2;
export const OVERLOAD_SEPARATOR = ':';
export const METHOD_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.";
export const DISCORD_API_TYPES_VERSION = 'v10';
export const DISCORD_API_TYPES_DOCS_URL = `https://discord-api-types.dev/api/discord-api-types-${DISCORD_API_TYPES_VERSION}`;