Help me pls

Code: Error: [WARNING] The command at C:\Users\OE104655\Videos\Eendsmp bot\commands\utility\giveaway.js is missing a required "data" or "execute" property.
8 Replies
d.js toolkit
d.js toolkit5mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by staff
chewie
chewie5mo ago
the warning tells you whats wrong
</JustTheDev>
</JustTheDev>5mo ago
yeah but i dont know what the warning means....
chewie
chewie5mo ago
it either doesn't have a data OR execute in this case you named the function run instead of execute
</JustTheDev>
</JustTheDev>5mo ago
owh will it work or not?
chewie
chewie5mo ago
is that even code that you wrote
</JustTheDev>
</JustTheDev>5mo ago
not fully...
chewie
chewie5mo ago
figured, like I said, you named your function run and not execute so change that