-
Notifications
You must be signed in to change notification settings - Fork 1
common errors
This error is caused by an invalid token. Make sure you have the correct token in your .env
file in the key BOT_TOKEN
. You can get the token from the Discord Developer Portal.
It should look like this
BOT_TOKEN=your-token-here
This error is caused by an invalid client ID. Make sure you have the correct client ID in your .env
file in the key CLIENT_ID
. You can get the client ID from the Discord Developer Portal.
It should look like this
CLIENT_ID=your-client-id-here
This error is caused by an invalid command structure. Make sure you have the correct command name and description in your
commands/slash/
folder. This only applies to the slash commands.
It should look like this
module.exports = {
name: 'pingo',
description: 'Check bots ping',
run: async (client, interaction) => {
interaction.followUp({ content: `> 🚀 ping? *\`${client.ws.ping}\`*` })
}
};
Important
If you need more help i suggest you join this community
Note
You can ⭐ this repository if you like it by clicking the star in the homepage!