From 066dac2eb14f5d6fb7569de4343a8bfe495ac1a0 Mon Sep 17 00:00:00 2001 From: Danial Raza Date: Tue, 25 Feb 2025 16:26:39 +0100 Subject: [PATCH] refactor: remove `whats-new` page --- guide/.vuepress/sidebar.ts | 2 - guide/.vuepress/theme/layouts/Layout.vue | 2 +- guide/whats-new.md | 69 ------------------------ 3 files changed, 1 insertion(+), 72 deletions(-) delete mode 100644 guide/whats-new.md diff --git a/guide/.vuepress/sidebar.ts b/guide/.vuepress/sidebar.ts index 539b86d4a..bd6e43e0f 100644 --- a/guide/.vuepress/sidebar.ts +++ b/guide/.vuepress/sidebar.ts @@ -5,7 +5,6 @@ export default { children: [ '/', '/requesting-more-content.md', - '/whats-new.md', ], }, { @@ -30,7 +29,6 @@ export default { children: [ '/', '/requesting-more-content.md', - '/whats-new.md', ], }, { diff --git a/guide/.vuepress/theme/layouts/Layout.vue b/guide/.vuepress/theme/layouts/Layout.vue index 138b3b20c..094e5ce9f 100644 --- a/guide/.vuepress/theme/layouts/Layout.vue +++ b/guide/.vuepress/theme/layouts/Layout.vue @@ -19,7 +19,7 @@ You're browsing the in-development guide for discord.js v15. - Check out what's new, or browse the v14 guide. + Browse the v14 guide. diff --git a/guide/whats-new.md b/guide/whats-new.md deleted file mode 100644 index 43b510940..000000000 --- a/guide/whats-new.md +++ /dev/null @@ -1,69 +0,0 @@ - - -# What's new - - - - - discord.js v14 has released and the guide has been updated! - - :tada: - -
- This includes additions and changes made in Discord, such as slash commands and message components. -
-
- -## Site - -- Upgraded to [VuePress v2](https://v2.vuepress.vuejs.org/) -- New theme made to match the [discord.js documentation site](https://discord.js.org/) -- Discord message components upgraded to [@discord-message-components/vue](https://github.com/Danktuary/discord-message-components/blob/main/packages/vue/README.md) -- Many fixes in code blocks, grammar, consistency, etc. - -## Pages - -All content has been updated to use discord.js v14 syntax. The v13 version of the guide can be found at [https://v13.discordjs.guide/](https://v13.discordjs.guide/). - -### New - -- [Updating from v13 to v14](/additional-info/changes-in-v14.md): A list of the changes from discord.js v13 to v14 -- [Slash commands](/slash-commands/advanced-creation.md): Registering, replying to slash commands and permissions -- [Buttons](/message-components/buttons): Building, sending, and receiving buttons -- [Select menus](/message-components/select-menus): Building, sending, and receiving select menus -- [Threads](/popular-topics/threads.md): Creating and managing threads -- [Formatters](/popular-topics/formatters.md): A collection of formatters to use with your bot - -### Updated - -- Commando: Replaced with [Sapphire](https://sapphirejs.dev/docs/Guide/getting-started/getting-started-with-sapphire) -- [Voice](/voice/): Rewritten to use the [`@discordjs/voice`](https://github.com/discordjs/discord.js/tree/main/packages/voice) package -- [Command handling](/creating-your-bot/command-handling.md/): Updated to use slash commands - - Obsolete sections removed -- `client.on('message')` snippets updated to `client.on('interactionCreate')` - - [Message content will become a new privileged intent on August 31, 2022](https://support-dev.discord.com/hc/articles/4404772028055) - - - - Thank you to all of those that contributed to the development of discord.js and the guide! - - :heart: - - -