NamVr / DiscordBot-Template

A boilerplate / template for discord.js v14 bots with 100% coverage of Discord API, command handler, error handler based on https://discordjs.guide/
https://djs.docs.namanvrati.me/
Apache License 2.0
322 stars 75 forks source link

[BUG] Slash commands are not loading. #23

Closed ukcai696969 closed 2 years ago

ukcai696969 commented 2 years ago

slash commands not loading

NamVr commented 2 years ago

Hi, we need a detailed brief information about your file structure so I can help.

ukcai696969 commented 2 years ago

hi, what do you mean file structure i just cloned the bot filled in config file and add the bot do my server with bot and application.commands and still ng

NamVr commented 2 years ago

I need you to describe what is wrong, since the template has been tested with thousand of clones, and we're pretty sure nothing is wrong from our side.

What do you mean by slash commands are not loading? Are they not loading in the bot console, or the api? Or it doesn't work globally and it works in your dev server only? There are many possibilities. Have you enabled intents properly? Have you ensured properly permissions of your bot in that server? Has the server disabled your bot's commands?

ukcai696969 commented 2 years ago

yes they are loading in the console and everything the bot has intents and perms

fieztazica commented 2 years ago

i'm pretty sure that the template is still fine. maybe you should check on your side clearer.

ukcai696969 commented 2 years ago

i have ive tried evrything still no

NamVr commented 2 years ago

Well then, you will have to share us your codebase so we can check what's wrong. Otherwise, we can't help you.