The latest discord.js updates allow using of constants in the event names, this is very useful to avoid possible mistakes when typing the name of the event or using an event that does not exist.
Also, the @discordjs/rest package is no longer needed, REST and Routes can be used directly from discord.js
Description
The latest discord.js updates allow using of constants in the event names, this is very useful to avoid possible mistakes when typing the name of the event or using an event that does not exist.
Also, the
@discordjs/rest
package is no longer needed,REST
andRoutes
can be used directly fromdiscord.js
Possibly consider updating the core in other PR related with those packages changes.