TypeError: Cannot read properties of undefined (reading 'name') #10036
Unanswered
GoodCat123
asked this question in
Q&A
Replies: 1 comment
-
one of your commands exports no object with a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Which package is this bug report for?
discord.js
Issue description
so I am currently making a bot for my server, nothing was wrong with the handlecommand.js file until I made the ping.js command, and everytime I try running the bot I get the same error. I can't find any way to fix this
Code sample
Versions
-Node.js v20.10.0
-discord.js v14.14.1
Which partials do you have configured?
No Partials
Which gateway intents are you subscribing to?
Guilds, GuildMembers, GuildModeration, GuildEmojisAndStickers, GuildIntegrations, GuildWebhooks, GuildInvites, GuildVoiceStates, GuildPresences, GuildMessages, GuildMessageReactions, GuildMessageTyping, DirectMessages, DirectMessageReactions, DirectMessageTyping, MessageContent, GuildScheduledEvents, AutoModerationConfiguration, AutoModerationExecution
Beta Was this translation helpful? Give feedback.
All reactions