thank you for making this i realized the 2022 vid is out of date when some things dont work anymore (after i updated nodejs and chocolatey i tried the 2022 vid lol)
You have to be a discord / RU-vid subscriber to get source code. If you need coding help with the code you wrote, feel free to use the help channels in my discord: discord.gg/codinglounge
in the discord developer portal in the OAuth2 setting when your creating the url for your bot also select "application.commands" along with "bot". That fixed the error for me