|
| 1 | +<style scoped> |
| 2 | +.emoji-container { |
| 3 | + display: inline-block; |
| 4 | +} |
| 5 | + |
| 6 | +.emoji-container .emoji-image { |
| 7 | + width: 1.375rem; |
| 8 | + height: 1.375rem; |
| 9 | + vertical-align: bottom; |
| 10 | +} |
| 11 | +</style> |
| 12 | + |
| 13 | +# What's new |
| 14 | + |
| 15 | +<DiscordMessages> |
| 16 | + <DiscordMessage profile="bot"> |
| 17 | + <template #interactions> |
| 18 | + <DiscordInteraction |
| 19 | + profile="user" |
| 20 | + author="discord.js" |
| 21 | + :command="true" |
| 22 | + >upgrade</DiscordInteraction> |
| 23 | + </template> |
| 24 | + discord.js v13 has released and the guide has been updated! |
| 25 | + <span class="emoji-container"> |
| 26 | + <img class="emoji-image" title="tada" src="https://twemoji.maxcdn.com/v/13.1.0/72x72/1f389.png" alt="" /> |
| 27 | + </span> |
| 28 | + <br /> |
| 29 | + This includes additions and changes made in Discord, such as slash commands and message components. |
| 30 | + </DiscordMessage> |
| 31 | +</DiscordMessages> |
| 32 | + |
| 33 | +## Site |
| 34 | + |
| 35 | +- Upgraded to [VuePress v2](https://v2.vuepress.vuejs.org/) |
| 36 | +- New theme made to match the [discord.js documentation site](https://discord.js.org/) |
| 37 | +- Discord message components upgraded to [@discord-message-components/vue](https://github.com/Danktuary/discord-message-components/blob/main/packages/vue/README.md) |
| 38 | +- Many fixes in codeblocks, grammar, consistency, etc. |
| 39 | + |
| 40 | +## Pages |
| 41 | + |
| 42 | +All content has been updated to use discord.js v13 syntax. The v12 version of the guide can be found at [https://v12.discordjs.guide/](https://v12.discordjs.guide/). |
| 43 | + |
| 44 | +### New |
| 45 | + |
| 46 | +- [Updating from v12 to v13](/additional-info/changes-in-v13.md): A list of the changes from discord.js v12 to v13 |
| 47 | +- [Registering slash commands](/interactions/registering-slash-commands.md): In-depth steps on registering slash commands |
| 48 | +- [Replying to slash commands](/interactions/replying-to-slash-commands.md): The various ways to reply to slash commands |
| 49 | +- [Slash command permissions](/interactions/slash-command-permissions.md): Restricting slash commands per user or per role |
| 50 | +- [Buttons](/interactions/buttons.md): Building, sending, and receiving buttons |
| 51 | +- [Select menus](/interactions/select-menus.md): Building, sending, and receiving select menus |
| 52 | +- [Threads](/popular-topics/threads.md): Creating and managing threads |
| 53 | + |
| 54 | +### Updated |
| 55 | + |
| 56 | +- Commando: Removed, to be replaced with a guide on [Sapphire](https://github.com/discordjs/guide/pull/711) |
| 57 | +- [Voice](/voice/): Rewritten to use the [`@discordjs/voice`](https://github.com/discordjs/voice) package |
| 58 | +- [Command handling](/command-handling.md): Updated to use slash commands |
| 59 | + - Obsolete sections removed |
| 60 | +- `client.on('message')` snippets updated to `client.on('interactionCreate')` |
| 61 | + - [Message content will become a new priviledged intent in April 2022](https://support-dev.discord.com/hc/en-us/articles/4404772028055) |
| 62 | + |
| 63 | +<DiscordMessages> |
| 64 | + <DiscordMessage profile="bot"> |
| 65 | + Thank you to all of those that contributed to the development of discord.js and the guide! |
| 66 | + <br /> |
| 67 | + We hope you enjoy! |
| 68 | + <span class="emoji-container"> |
| 69 | + <img class="emoji-image" title="heart" src="https://twemoji.maxcdn.com/v/13.1.0/72x72/2764.png" alt="" /> |
| 70 | + </span> |
| 71 | + </DiscordMessage> |
| 72 | +</DiscordMessages> |
0 commit comments